]> git.lyx.org Git - features.git/commitdiff
Fix the zombie toolbar problem (bug #8520)
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 20 Mar 2013 12:01:48 +0000 (13:01 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 20 Mar 2013 12:01:48 +0000 (13:01 +0100)
src/frontends/qt4/GuiView.cpp

index 5983aa199d9e1b35b4daf4a419df008af1ab984c..08079a3e55002523124d137e4e05349825cb5ad7 100644 (file)
@@ -501,8 +501,10 @@ GuiView::GuiView(int id)
 
        if (lyxrc.allow_geometry_session) {
                // Now take care of session management.
-               if (restoreLayout())
+               if (restoreLayout()) {
+                       initToolbars();
                        return;
+               }
        }
 
        // no session handling, default to a sane size.