From 1239d32174e1aa22ab6ca93ba4043505eb59dd53 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 9 Jun 2008 22:25:51 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiToc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }