From 0ccfb4543155d92fec40959deffe7843ad04c01d Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Thu, 10 Oct 2019 09:01:38 +0200 Subject: [PATCH] Merge #15023: GUI: Restore RPC Console to non-wallet tray icon menu f33efa8ec535faae96b490c34978432799ca221f GUI: Restore RPC Console to non-wallet tray icon menu (Luke Dashjr) Pull request description: #14383 moved the debug window's menu position, to make it conditional on wallet mode. The rationale given was to match the behaviour of the 'Help' menu. #14573 replaced the 'Help' menu's conditional debug window with an unconditional list of items in the new 'Window' menu. This PR reverts the no-longer-applicable part of #14383, putting the debug window back on the tray menu unconditionally, and in the position it previously had. ACKs for top commit: jonasschnelli: Tested ACK f33efa8ec535faae96b490c34978432799ca221f - the debug window is also accessible from the menu (though directly the subpages which counts IMO). Tree-SHA512: c04a588fed37a8c31cb413baaa346e3c1c18724f9b40d64b8528c517f65290930d577bccf0a794180e968e84d3c52e9fa3fdc8a40bbc5fe3418eaddd73481271 --- src/qt/bitcoingui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index d5793466b3..8dd6051aa1 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -853,10 +853,10 @@ void BitcoinGUI::createIconMenu(QMenu *pmenu) pmenu->addAction(signMessageAction); pmenu->addAction(verifyMessageAction); pmenu->addSeparator(); - pmenu->addAction(openRPCConsoleAction); } pmenu->addAction(optionsAction); pmenu->addAction(openInfoAction); + pmenu->addAction(openRPCConsoleAction); pmenu->addAction(openGraphAction); pmenu->addAction(openPeersAction); if (enableWallet) {