mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Code cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33130 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
943a39b1e2
commit
dd38c54f66
@ -698,14 +698,7 @@ 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);
|
||||
*/
|
||||
|
||||
LYXERR(Debug::DEBUG, "GuiWorkArea::focusInEvent(): " << this << endl);
|
||||
if (lyx_view_->currentWorkArea() != this)
|
||||
lyx_view_->setCurrentWorkArea(this);
|
||||
|
||||
@ -716,7 +709,7 @@ void GuiWorkArea::focusInEvent(QFocusEvent * e)
|
||||
|
||||
void GuiWorkArea::focusOutEvent(QFocusEvent * e)
|
||||
{
|
||||
LYXERR(Debug::DEBUG, "GuiWorkArea::focusOutEvent(): " << this << std::endl);
|
||||
LYXERR(Debug::DEBUG, "GuiWorkArea::focusOutEvent(): " << this << endl);
|
||||
stopBlinkingCursor();
|
||||
QAbstractScrollArea::focusOutEvent(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user