From 2c62c9d91c2f60ae7c70f21316afaa8740db75f7 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Tue, 26 Feb 2008 13:08:52 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiCompleter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiCompleter.cpp b/src/frontends/qt4/GuiCompleter.cpp index a6049ba818..8aee5c1d47 100644 --- a/src/frontends/qt4/GuiCompleter.cpp +++ b/src/frontends/qt4/GuiCompleter.cpp @@ -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());