* 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,6 +745,7 @@ void GuiCompleter::popupHighlighted(const QString & completion)
Cursor cur = gui_->bufferView().cursor(); Cursor cur = gui_->bufferView().cursor();
cur.updateFlags(Update::None); cur.updateFlags(Update::None);
if (inlineVisible())
updateInline(cur, completion); updateInline(cur, completion);
if (cur.disp_.update()) if (cur.disp_.update())