mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
When Inset::dispatch is called from TOC, process screen flags
This is needed because we are not using the complete dispatch machinery here. Part of bug #4582.
This commit is contained in:
parent
0b27eb7deb
commit
d2f05b9e6f
@ -352,6 +352,8 @@ void Inset::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
cur.screenUpdateFlags(Update::Force | Update::FitCursor);
|
||||
cur.dispatched();
|
||||
doDispatch(cur, cmd);
|
||||
if (cmd.origin() == FuncRequest::TOC)
|
||||
cur.bv().processUpdateFlags(cur.result().screenUpdate());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user