]> git.lyx.org Git - features.git/commitdiff
Fix bug #3852.
authorPavel Sanda <sanda@lyx.org>
Fri, 6 Nov 2009 15:22:17 +0000 (15:22 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 6 Nov 2009 15:22:17 +0000 (15:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31874 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiGraphics.cpp

index b1abb5847aee88df478335f746b5e81f75c36c9e..53b248d4b51ccb8b714587aee0047b2e21cd61e3 100644 (file)
@@ -149,7 +149,6 @@ GuiGraphics::GuiGraphics(GuiView & lv)
                this, SLOT(change_adaptor()));
 
        filename->setValidator(new PathValidator(true, filename));
-       setFocusProxy(filename);
 
        QDoubleValidator * scaleValidator = 
                new DoubleAutoValidator(Scale, qt_(autostr));
@@ -638,6 +637,8 @@ void GuiGraphics::paramsToDialog(InsetGraphicsParams const & igp)
 
        // latex section
        latexoptions->setText(toqstr(igp.special));
+       // cf bug #3852
+       filename->setFocus();
 }