changeset 2990:76f52a73a43c 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 14246fe5426a
children 116bad5f9ba5
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
@@ -205,6 +205,7 @@
 
                 app.exec();
 
+                window.hide();
                 guiref = 0;
             }
             Shutdown(NULL);