git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25218 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-09 22:25:51 +00:00
parent fe9de1f1d6
commit 1239d32174

View File

@ -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();
} }