mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 02:54:09 +00:00
Force redraw after completion
Inside a math inset when completing macro names, it could lead to crashes. Note that this processUpdateFlags is present when outside of this if() branch.
This commit is contained in:
parent
29b386640e
commit
f400a2cfa9
@ -701,6 +701,10 @@ void GuiCompleter::tab()
|
||||
hidePopup();
|
||||
hideInline(cur);
|
||||
updateVisibility(false, false);
|
||||
|
||||
// redraw if needed
|
||||
if (cur.result().screenUpdate())
|
||||
gui_->bufferView().processUpdateFlags(cur.result().screenUpdate());
|
||||
return;
|
||||
}
|
||||
docstring nextchar = completion.substr(prefix.size(), 1);
|
||||
|
Loading…
Reference in New Issue
Block a user