From: Abdelrazak Younes Date: Wed, 28 Mar 2007 20:14:50 +0000 (+0000) Subject: Fix focus proxy. X-Git-Tag: 1.6.10~10439 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f93c87ed7246f5a26cff559fb5893dd95d0209b4;p=features.git Fix focus proxy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17618 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/QURLDialog.C b/src/frontends/qt4/QURLDialog.C index b2b952dd88..4612acdfbd 100644 --- a/src/frontends/qt4/QURLDialog.C +++ b/src/frontends/qt4/QURLDialog.C @@ -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(); }