]> git.lyx.org Git - lyx.git/commitdiff
Cosmetics
authorPavel Sanda <sanda@lyx.org>
Fri, 12 Sep 2008 02:21:14 +0000 (02:21 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 12 Sep 2008 02:21:14 +0000 (02:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26362 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 496de24d8aa4fea877f64e89473b5089e84f479d..0101d0cf0b09b5477355bf5e2ac2fc31ba792418 100644 (file)
@@ -379,8 +379,11 @@ bool GuiView::restoreLayout()
 #endif
        // Allow the toc and view-source dock widget to be restored if needed.
        Dialog * tmp;
-       if (tmp = findOrBuild("toc", true)) tmp->showView();
-       if (tmp = findOrBuild("view-source", true)) tmp->showView();
+       if (tmp = findOrBuild("toc", true))
+               tmp->showView();
+       if (tmp = findOrBuild("view-source", true))
+               tmp->showView();
+
        if (!restoreState(settings.value(key + "/layout").toByteArray(), 0))
                initToolbars();
        updateDialogs();