From 615935036835ac720a36dc94d5eefffdc751ebc3 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 18 Jul 2011 08:10:20 +0000 Subject: [PATCH] Limit fix for bug #6063 to math insets and only when inline completion is disabled in math. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39337 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiCompleter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiCompleter.cpp b/src/frontends/qt4/GuiCompleter.cpp index b20280cb4f..da2d688c59 100644 --- a/src/frontends/qt4/GuiCompleter.cpp +++ b/src/frontends/qt4/GuiCompleter.cpp @@ -311,7 +311,7 @@ void GuiCompleter::updateVisibility(Cursor & cur, bool start, bool keep, bool cu if (!inlineVisible() && possibleInlineState && start && cur.inset().automaticInlineCompletion()) inline_timer_.start(int(lyxrc.completion_inline_delay * 1000)); - else { + else if (cur.inMathed() && !lyxrc.completion_inline_math) { // no inline completion, hence a metrics update is needed if (!(cur.result().screenUpdate() & Update::Force)) cur.screenUpdateFlags(cur.result().screenUpdate() | Update::SinglePar);