|
@ -57,7 +57,7 @@ class OpenFileEventFilter(QObject): |
|
|
def eventFilter(self, obj, event): |
|
|
def eventFilter(self, obj, event): |
|
|
if event.type() == QtCore.QEvent.FileOpen: |
|
|
if event.type() == QtCore.QEvent.FileOpen: |
|
|
if len(self.windows) >= 1: |
|
|
if len(self.windows) >= 1: |
|
|
self.windows[0].set_url(event.url().toEncoded()) |
|
|
self.windows[0].pay_from_URI(event.url().toEncoded()) |
|
|
return True |
|
|
return True |
|
|
return False |
|
|
return False |
|
|
|
|
|
|
|
|