mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
e55abfd359
commit
f2202da44b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user