From f548b6356367367504136ce583dc5d4e8631c022 Mon Sep 17 00:00:00 2001 From: Jin Eguchi Date: Wed, 27 Jan 2021 03:34:19 +0900 Subject: [PATCH] Fix error of showing bitcoin paper(testnet) --- electrum/gui/qt/main_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index bef6e574f..9f09f2920 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -766,7 +766,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): help_menu.addAction(_("&Official website"), lambda: webopen("https://electrum.org")) help_menu.addSeparator() help_menu.addAction(_("&Documentation"), lambda: webopen("http://docs.electrum.org/")).setShortcut(QKeySequence.HelpContents) - help_menu.addAction(_("&Bitcoin Paper"), self.show_bitcoin_paper) + if not constants.net.TESTNET: + help_menu.addAction(_("&Bitcoin Paper"), self.show_bitcoin_paper) help_menu.addAction(_("&Report Bug"), self.show_report_bug) help_menu.addSeparator() help_menu.addAction(_("&Donate to server"), self.donate_to_server)