mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
It seems that somebody added the code to show the dockwidget at layout restoration time. This is wrong so I reverted this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26694 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7231275a09
commit
ac55ec0f56
@ -383,11 +383,8 @@ bool GuiView::restoreLayout()
|
||||
setLayoutDirection(qApp->layoutDirection());
|
||||
|
||||
// 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();
|
||||
findOrBuild("toc", true);
|
||||
findOrBuild("view-source", true);
|
||||
|
||||
if (!restoreState(settings.value("layout").toByteArray(), 0))
|
||||
initToolbars();
|
||||
|
Loading…
Reference in New Issue
Block a user