commit 7c0d18d4eec027748f259116b3f63a3f5626e184
parent 17cfc03540a217c1699cf2e1430b5ee409b58ead
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 8 Feb 2017 10:53:17 +0100
minor fix
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -2031,6 +2031,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
file_content = f.read()
except (ValueError, IOError, os.error) as reason:
self.show_critical(_("Electrum was unable to open your transaction file") + "\n" + str(reason), title=_("Unable to read file or no transaction found"))
+ return
return self.tx_from_text(file_content)
def do_process_from_text(self):