mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26362 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0cd57df397
commit
1d25a38fc1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user