]> git.lyx.org Git - features.git/commitdiff
* GuiView::event(): ensure current workarea has the focus on window activation. This...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 12 Feb 2008 15:44:45 +0000 (15:44 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 12 Feb 2008 15:44:45 +0000 (15:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22964 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 31cbd6835728687156fbb7e4cfcd759131fe7c8d..7e7439573ea63f72b2e977a9217af02a24ce4f79 100644 (file)
@@ -584,6 +584,7 @@ bool GuiView::event(QEvent * e)
                        setWindowTitle(qt_("LyX"));
                        setWindowIconText(qt_("LyX"));
                }
+               setFocus();
                return QMainWindow::event(e);
        }