From: Abdelrazak Younes Date: Mon, 9 Jun 2008 22:25:51 +0000 (+0000) Subject: Maybe fix http://bugzilla.lyx.org/show_bug.cgi?id=4939 X-Git-Tag: 1.6.10~4428 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1239d32174e1aa22ab6ca93ba4043505eb59dd53;p=features.git Maybe fix http://bugzilla.lyx.org/show_bug.cgi?id=4939 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25218 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiToc.cpp b/src/frontends/qt4/GuiToc.cpp index 4a261bb4a1..24d072081b 100644 --- a/src/frontends/qt4/GuiToc.cpp +++ b/src/frontends/qt4/GuiToc.cpp @@ -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(); }