diff options
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index ff875f00d..2b16c2d77 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -151,7 +151,6 @@ void init_ui(int *argcp, char ***argvp) window = new MainWindow(); window->loadRecentFiles(&s); - window->show(); if (existing_filename && existing_filename[0] != '\0') window->setTitle(MWTF_FILENAME); else @@ -162,6 +161,7 @@ void init_ui(int *argcp, char ***argvp) void run_ui(void) { + window->show(); application->exec(); } |