From: Abdelrazak Younes Date: Sat, 15 Nov 2008 23:18:42 +0000 (+0000) Subject: compil fix, sorry. X-Git-Tag: 2.0.0~7745 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f2202da44bfd8aafbc5897e082b9e32e15f0f54d;p=features.git compil fix, sorry. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27512 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 1d02dcf051..80f79524a4 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -690,14 +690,16 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e) void GuiWorkArea::focusInEvent(QFocusEvent * e) { + /* LYXERR(Debug::DEBUG, "GuiWorkArea::focusInEvent(): " << this << std::endl); GuiWorkArea * old_gwa = theGuiApp()->currentView()->currentWorkArea(); if (old_gwa) old_gwa->stopBlinkingCursor(); lyx_view_->setCurrentWorkArea(this); + */ - //if (lyx_view_->currentWorkArea() != this) { - // lyx_view_->setCurrentWorkArea(this); + if (lyx_view_->currentWorkArea() != this) + lyx_view_->setCurrentWorkArea(this); startBlinkingCursor(); QAbstractScrollArea::focusInEvent(e);