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 1e4adc512e
commit 4d1ad336db

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();
}