From 1348c62d41d3069b5c7e051c38122edf1c109f48 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Fri, 4 Sep 2015 15:27:50 +0100 Subject: [PATCH] Fix bug #9754 Don't delay the update of the TOC panel on switching documents --- src/frontends/qt4/GuiToc.cpp | 6 ++---- status.21x | 4 +++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontends/qt4/GuiToc.cpp b/src/frontends/qt4/GuiToc.cpp index 9711bb68f6..f238e767bc 100644 --- a/src/frontends/qt4/GuiToc.cpp +++ b/src/frontends/qt4/GuiToc.cpp @@ -66,11 +66,9 @@ void GuiToc::dispatchParams() } -void GuiToc::enableView(bool enable) +void GuiToc::enableView(bool /*enable*/) { - if (!enable) - // In the opposite case, updateView() will be called anyway. - widget_->updateView(); + widget_->updateViewForce(); } diff --git a/status.21x b/status.21x index 7fae2abc10..df4e712c94 100644 --- a/status.21x +++ b/status.21x @@ -79,7 +79,9 @@ What's new - Fix subscripts and superscripts of \overrightarrow and related macros (bug 1996). - + +- Fix a crash with the outliner when switching documents (bug 9754). + * INTERNALS