mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +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;
|
||||
#endif
|
||||
|
||||
widget_->updateView();
|
||||
// Special code for Mac drawer.
|
||||
if (windowFlags() & Qt::Drawer && lyxview().isFullScreen()) {
|
||||
setWindowFlags(Qt::Widget);
|
||||
setFeatures(DockWidgetClosable);
|
||||
// Setting features hides the dialog, see Qt's doc.
|
||||
show();
|
||||
} else if (!(windowFlags() & Qt::Drawer)) {
|
||||
setWindowFlags(Qt::Drawer);
|
||||
@ -64,7 +66,6 @@ void GuiToc::updateView()
|
||||
// Setting features hides the dialog, see Qt's doc.
|
||||
show();
|
||||
}
|
||||
widget_->updateView();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user