Browse Source

qt: fix handling BIP21 URI from e.g. website on macOS

fixes #6933

based on e2171f702d

Co-authored-by: SomberNight <somber.night@protonmail.com>
patch-4
Neil Booth 4 years ago
committed by SomberNight
parent
commit
8b5e312e7e
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/__init__.py

2
electrum/gui/qt/__init__.py

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

Loading…
Cancel
Save