mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
potential fix to outline drawer when leaving full-screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25217 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
efd40b2673
commit
fe9de1f1d6
@ -58,9 +58,10 @@ void GuiToc::updateView()
|
|||||||
setWindowFlags(Qt::Widget);
|
setWindowFlags(Qt::Widget);
|
||||||
setFeatures(DockWidgetClosable);
|
setFeatures(DockWidgetClosable);
|
||||||
show();
|
show();
|
||||||
} else if (windowFlags() & Qt::Widget && !lyxview().isFullScreen()) {
|
} else if (!(windowFlags() & Qt::Drawer)) {
|
||||||
setWindowFlags(Qt::Drawer);
|
setWindowFlags(Qt::Drawer);
|
||||||
setFeatures(NoDockWidgetFeatures);
|
setFeatures(NoDockWidgetFeatures);
|
||||||
|
// Setting features hides the dialog, see Qt's doc.
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
widget_->updateView();
|
widget_->updateView();
|
||||||
|
Loading…
Reference in New Issue
Block a user