diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-10-06 04:57:08 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-10-06 04:57:08 -0700 |
| commit | 695a722003a2565f79cc337668e52d5c941fde10 (patch) | |
| tree | 4c318f26cd642f17874d81ade5a00017825089a0 | |
| parent | Merge pull request #3053 from dajohi/master (diff) | |
| parent | Bitcoin-Qt: prevent stuck/unusable debug window on exit (diff) | |
| download | discoin-695a722003a2565f79cc337668e52d5c941fde10.tar.xz discoin-695a722003a2565f79cc337668e52d5c941fde10.zip | |
Merge pull request #3056 from Diapolo/stuck_debug_window
Bitcoin-Qt: prevent stuck/unusable debug window on exit
| -rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 5afd93957..66b0d6ace 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -157,6 +157,8 @@ BitcoinGUI::BitcoinGUI(bool fIsTestnet, QWidget *parent) : rpcConsole = new RPCConsole(this); connect(openRPCConsoleAction, SIGNAL(triggered()), rpcConsole, SLOT(show())); + // prevents an oben debug window from becoming stuck/unusable on client shutdown + connect(quitAction, SIGNAL(triggered()), rpcConsole, SLOT(hide())); // Install event filter to be able to catch status tip events (QEvent::StatusTip) this->installEventFilter(this); |