mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30228 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5b2ba34ac6
commit
f9621a5255
@ -394,11 +394,11 @@ bool GuiView::restoreLayout()
|
||||
|
||||
// Allow the toc and view-source dock widget to be restored if needed.
|
||||
Dialog *d;
|
||||
if (d = findOrBuild("toc", true))
|
||||
if ((d = findOrBuild("toc", true)));
|
||||
// see bug 5082. At least setup title and enabled state.
|
||||
// Visibility will be adjusted by restoreState below.
|
||||
d->prepareView();
|
||||
if (d = findOrBuild("view-source", true))
|
||||
if ((d = findOrBuild("view-source", true)))
|
||||
d->prepareView();
|
||||
|
||||
if (!restoreState(settings.value("layout").toByteArray(), 0))
|
||||
|
Loading…
Reference in New Issue
Block a user