diff --git a/src/frontends/qt4/GuiCompleter.cpp b/src/frontends/qt4/GuiCompleter.cpp index cadca7994a..0c51b6da41 100644 --- a/src/frontends/qt4/GuiCompleter.cpp +++ b/src/frontends/qt4/GuiCompleter.cpp @@ -422,7 +422,8 @@ void GuiCompleter::updatePopup(Cursor & cur) void GuiCompleter::asyncUpdatePopup() { Cursor cur = gui_->bufferView().cursor(); - if (!cur.inset().completionSupported(cur)) { + if (!cur.inset().completionSupported(cur) + || !cur.bv().paragraphVisible(cur)) { popupVisible_ = false; return; }