Skip to content

Commit 695a722

Browse files
committed
Merge pull request #3056 from Diapolo/stuck_debug_window
Bitcoin-Qt: prevent stuck/unusable debug window on exit
2 parents 1c49942 + a8d0c1e commit 695a722

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qt/bitcoingui.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ BitcoinGUI::BitcoinGUI(bool fIsTestnet, QWidget *parent) :
157157

158158
rpcConsole = new RPCConsole(this);
159159
connect(openRPCConsoleAction, SIGNAL(triggered()), rpcConsole, SLOT(show()));
160+
// prevents an oben debug window from becoming stuck/unusable on client shutdown
161+
connect(quitAction, SIGNAL(triggered()), rpcConsole, SLOT(hide()));
160162

161163
// Install event filter to be able to catch status tip events (QEvent::StatusTip)
162164
this->installEventFilter(this);

0 commit comments

Comments
 (0)