mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
Allow the toc and view-source dock widget to be restored if needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25214 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
42cb86adb9
commit
16420e5263
@ -372,6 +372,9 @@ void GuiView::restoreLayout()
|
||||
if (!restoreGeometry(settings.value(key + "/geometry").toByteArray()))
|
||||
setGeometry(50, 50, 690, 510);
|
||||
#endif
|
||||
// Allow the toc and view-source dock widget to be restored if needed.
|
||||
find_or_build("toc");
|
||||
find_or_build("view-source");
|
||||
if (!restoreState(settings.value(key + "/layout").toByteArray(), 0))
|
||||
initToolbars();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user