]> git.lyx.org Git - features.git/commitdiff
Tweak for X11.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 26 Apr 2010 10:26:06 +0000 (10:26 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 26 Apr 2010 10:26:06 +0000 (10:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34294 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index fa7a85cf5ca7c44b7c16212599e11a82450cd884..2d7c27d5f685c059a5e641b0f9d45ace7ca18459 100644 (file)
@@ -3498,6 +3498,7 @@ void GuiView::doShowDialog(QString const & qname, QString const & qdata,
                        // visible in order not to change the existing previous behaviour
                        if (visible) {  
                                // activateWindow is needed for floating dockviews
+                               dialog->asQWidget()->raise();
                                dialog->asQWidget()->activateWindow();
                                dialog->asQWidget()->setFocus();
                        }