]> git.lyx.org Git - features.git/commitdiff
Fix focus proxy.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 28 Mar 2007 20:14:50 +0000 (20:14 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 28 Mar 2007 20:14:50 +0000 (20:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17618 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QURLDialog.C

index b2b952dd88134cabc1fa44f1349fff0e8af8b3a3..4612acdfbd6b58ff4d8182597324e8327da873a8 100644 (file)
@@ -33,6 +33,8 @@ QURLDialog::QURLDialog(UrlView * form)
     connect( urlED, SIGNAL( textChanged(const QString&) ), this, SLOT( changed_adaptor() ) );
     connect( hyperlinkCB, SIGNAL( clicked() ), this, SLOT( changed_adaptor() ) );
     connect( nameED, SIGNAL( textChanged(const QString&) ), this, SLOT( changed_adaptor() ) );
+
+       setFocusProxy(urlED);
 }
 
 
@@ -44,7 +46,6 @@ QURLDialog::~QURLDialog()
 void QURLDialog::show()
 {
        QDialog::show();
-       urlED->setFocus();
 }