mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25218 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fe9de1f1d6
commit
1239d32174
@ -53,10 +53,12 @@ void GuiToc::updateView()
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
widget_->updateView();
|
||||||
// Special code for Mac drawer.
|
// Special code for Mac drawer.
|
||||||
if (windowFlags() & Qt::Drawer && lyxview().isFullScreen()) {
|
if (windowFlags() & Qt::Drawer && lyxview().isFullScreen()) {
|
||||||
setWindowFlags(Qt::Widget);
|
setWindowFlags(Qt::Widget);
|
||||||
setFeatures(DockWidgetClosable);
|
setFeatures(DockWidgetClosable);
|
||||||
|
// Setting features hides the dialog, see Qt's doc.
|
||||||
show();
|
show();
|
||||||
} else if (!(windowFlags() & Qt::Drawer)) {
|
} else if (!(windowFlags() & Qt::Drawer)) {
|
||||||
setWindowFlags(Qt::Drawer);
|
setWindowFlags(Qt::Drawer);
|
||||||
@ -64,7 +66,6 @@ void GuiToc::updateView()
|
|||||||
// Setting features hides the dialog, see Qt's doc.
|
// Setting features hides the dialog, see Qt's doc.
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
widget_->updateView();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user