diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index e3bb5260a8..f3b9cc8a7b 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -761,8 +761,10 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e) void GuiWorkArea::focusInEvent(QFocusEvent * e) { LYXERR(Debug::DEBUG, "GuiWorkArea::focusInEvent(): " << this << endl); - if (d->lyx_view_->currentWorkArea() != this) + if (d->lyx_view_->currentWorkArea() != this) { d->lyx_view_->setCurrentWorkArea(this); + d->lyx_view_->currentWorkArea()->bufferView().buffer().updateBuffer(); + } startBlinkingCursor(); QAbstractScrollArea::focusInEvent(e);