mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Try to fix the rest of bug http://bugzilla.lyx.org/show_bug.cgi?id=5082 .
(Initialize dialogs after lyx launch). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26359 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bb11f79ca0
commit
a6df920f6b
@ -378,8 +378,9 @@ bool GuiView::restoreLayout()
|
||||
setGeometry(50, 50, 690, 510);
|
||||
#endif
|
||||
// Allow the toc and view-source dock widget to be restored if needed.
|
||||
findOrBuild("toc", true);
|
||||
findOrBuild("view-source", true);
|
||||
Dialog * tmp;
|
||||
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