changeset 2980:a4e4d9a7fa81 draft

Hide UI immediately after leaving the main loop. Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
author Wladimir J. van der Laan <laanwj@gmail.com>
date Sun, 06 May 2012 08:14:19 +0200
parents c1db3813b890
children 73ad3a07a95a
files src/qt/bitcoin.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -281,6 +281,7 @@
 #endif
                 app.exec();
 
+                window.hide();
                 window.setClientModel(0);
                 window.setWalletModel(0);
                 guiref = 0;