]> git.lyx.org Git - features.git/commitdiff
compil fix, sorry.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 15 Nov 2008 23:18:42 +0000 (23:18 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 15 Nov 2008 23:18:42 +0000 (23:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27512 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index 1d02dcf05130fd63f496822bd1875ae5c83a5584..80f79524a45dbb8e2a2bde7d6a3c2976f67c1b48 100644 (file)
@@ -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);