Skip to content

Commit

Permalink
Bitcoin-Qt: prevent stuck/unusable debug window on exit
Browse files Browse the repository at this point in the history
- when closing the client with an open debug window, that window could
  become stuck/unsuable (it was still shown wherea the main window was
  hidden already)
- fix this by hiding the debug window, when quitting the the client
  • Loading branch information
Philip Kaufmann committed Oct 5, 2013
1 parent 15b48ab commit a8d0c1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a8d0c1e

Please sign in to comment.