mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
(Outliner uninitialized after lyx launch) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28428 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0be0516d28
commit
7cfe885af1
@ -388,8 +388,12 @@ bool GuiView::restoreLayout()
|
||||
setLayoutDirection(qApp->layoutDirection());
|
||||
|
||||
// Allow the toc and view-source dock widget to be restored if needed.
|
||||
findOrBuild("toc", true);
|
||||
findOrBuild("view-source", true);
|
||||
Dialog *d;
|
||||
if (d = findOrBuild("toc", true))
|
||||
// see bug 5082
|
||||
d->showView();
|
||||
if (d = findOrBuild("view-source", true))
|
||||
d->showView();
|
||||
|
||||
if (!restoreState(settings.value("layout").toByteArray(), 0))
|
||||
initToolbars();
|
||||
|
Loading…
Reference in New Issue
Block a user