mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +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)
|
widget_->updateViewForce();
|
||||||
// In the opposite case, updateView() will be called anyway.
|
|
||||||
widget_->updateView();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user