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)
// In the opposite case, updateView() will be called anyway.
widget_->updateView();
widget_->updateViewForce();
}

View File

@ -80,6 +80,8 @@ 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