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