compil fix, sorry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27512 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-11-15 23:18:42 +00:00
parent e55abfd359
commit f2202da44b

View 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);