* don't show inline if the user did not want it, even when using the popup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23245 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-26 13:08:52 +00:00
parent cd5bad62e0
commit 2c62c9d91c

View File

@ -745,7 +745,8 @@ void GuiCompleter::popupHighlighted(const QString & completion)
Cursor cur = gui_->bufferView().cursor();
cur.updateFlags(Update::None);
updateInline(cur, completion);
if (inlineVisible())
updateInline(cur, completion);
if (cur.disp_.update())
gui_->bufferView().processUpdateFlags(cur.disp_.update());