Don't delay the update of the TOC panel on switching documents
This commit is contained in:
Guillaume Munch 2015-09-04 15:27:50 +01:00
parent d186d708ea
commit 1348c62d41
2 changed files with 5 additions and 5 deletions

View File

@ -66,11 +66,9 @@ void GuiToc::dispatchParams()
} }
void GuiToc::enableView(bool enable) void GuiToc::enableView(bool /*enable*/)
{ {
if (!enable) widget_->updateViewForce();
// In the opposite case, updateView() will be called anyway.
widget_->updateView();
} }

View File

@ -79,7 +79,9 @@ What's new
- Fix subscripts and superscripts of \overrightarrow and related macros - Fix subscripts and superscripts of \overrightarrow and related macros
(bug 1996). (bug 1996).
- Fix a crash with the outliner when switching documents (bug 9754).
* INTERNALS * INTERNALS