]> git.lyx.org Git - features.git/commitdiff
* don't show inline if the user did not want it, even when using the popup
authorStefan Schimanski <sts@lyx.org>
Tue, 26 Feb 2008 13:08:52 +0000 (13:08 +0000)
committerStefan Schimanski <sts@lyx.org>
Tue, 26 Feb 2008 13:08:52 +0000 (13:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23245 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiCompleter.cpp

index a6049ba81873030753963685a5e4f746cbb46ef1..8aee5c1d47b4ac2015900f243ae6ba731c9272fa 100644 (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());