* GuiView::event(): ensure current workarea has the focus on window activation. This prevents document jumps when the outline panel previously had the focus.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22964 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-12 15:44:45 +00:00
parent 6a877dfc1a
commit 0aa490a705

View File

@ -584,6 +584,7 @@ bool GuiView::event(QEvent * e)
setWindowTitle(qt_("LyX"));
setWindowIconText(qt_("LyX"));
}
setFocus();
return QMainWindow::event(e);
}