mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix crash when closing a second lyx window due to a recursive painting (QT4.4 issue). This code was not needed anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25233 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dc4f254726
commit
1494e0a687
@ -658,11 +658,6 @@ void GuiWorkArea::focusInEvent(QFocusEvent * e)
|
||||
if (lyx_view_->currentWorkArea() != this)
|
||||
lyx_view_->setCurrentWorkArea(this);
|
||||
|
||||
// Repaint the whole screen.
|
||||
// Note: this is different from redraw() as only the backing pixmap
|
||||
// will be redrawn, which is cheap.
|
||||
viewport()->repaint();
|
||||
|
||||
startBlinkingCursor();
|
||||
QAbstractScrollArea::focusInEvent(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user