tMerge pull request #6972 from wakiyamap/patch-2 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 176a1162b4564e780f0eb19142b12e965777562b DIR parent d7515b936e32efc02f6b4b0dd97b8520b5c447a7 HTML 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: M electrum/gui/qt/main_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -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)