commit 1348c62d41d3069b5c7e051c38122edf1c109f48
Author: Guillaume Munch <[email protected]>
Date:   Fri Sep 4 15:27:50 2015 +0100

    Fix bug #9754
    
    Don't delay the update of the TOC panel on switching documents

diff --git a/src/frontends/qt4/GuiToc.cpp b/src/frontends/qt4/GuiToc.cpp
index 9711bb6..f238e76 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 7fae2ab..df4e712 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
 

Reply via email to