From f93c87ed7246f5a26cff559fb5893dd95d0209b4 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 28 Mar 2007 20:14:50 +0000 Subject: [PATCH] Fix focus proxy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17618 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/QURLDialog.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }