mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Fix bug #9754
Don't delay the update of the TOC panel on switching documents
This commit is contained in:
parent
1e4adc512e
commit
4d1ad336db
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user