commit 8b5e312e7eeefbd63fa8410b12198d0c1aa31adb
parent 60792dc8081467db0384fe9842f6729cd77cf48f
Author: Neil Booth <kyuupichan@gmail.com>
Date: Thu, 21 Jan 2021 04:41:03 +0100
qt: fix handling BIP21 URI from e.g. website on macOS
fixes #6933
based on https://github.com/Electron-Cash/Electron-Cash/commit/e2171f702d0e83abe368d3013dccc5ee3577be6a
Co-authored-by: SomberNight <somber.night@protonmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/__init__.py b/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