commit 176a1162b4564e780f0eb19142b12e965777562b
parent d7515b936e32efc02f6b4b0dd97b8520b5c447a7
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 26 Jan 2021 19:38:29 +0100
Merge pull request #6972 from wakiyamap/patch-2
Fix error of showing bitcoin paper(testnet)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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)