From f2202da44bfd8aafbc5897e082b9e32e15f0f54d Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 15 Nov 2008 23:18:42 +0000 Subject: [PATCH] compil fix, sorry. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27512 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.2