Cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26362 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-09-12 02:21:14 +00:00
parent 0cd57df397
commit 1d25a38fc1

View 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();