fixed issue that return key did not work in the table to connect to a server when only the keyboard is available
This commit is contained in:
parent
000bf50be8
commit
215374c2e2
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ CConnectDlg::CConnectDlg ( QWidget* parent, Qt::WindowFlags f )
|
||||||
SIGNAL ( itemDoubleClicked ( QTreeWidgetItem*, int ) ),
|
SIGNAL ( itemDoubleClicked ( QTreeWidgetItem*, int ) ),
|
||||||
this, SLOT ( OnServerListItemDoubleClicked ( QTreeWidgetItem*, int ) ) );
|
this, SLOT ( OnServerListItemDoubleClicked ( QTreeWidgetItem*, int ) ) );
|
||||||
|
|
||||||
|
QObject::connect ( lvwServers, // to get default return key behaviour working
|
||||||
|
SIGNAL ( activated ( QModelIndex ) ),
|
||||||
|
this, SLOT ( OnConnectClicked() ) );
|
||||||
|
|
||||||
// combo boxes
|
// combo boxes
|
||||||
QObject::connect ( cbxServerAddr, SIGNAL ( editTextChanged ( const QString& ) ),
|
QObject::connect ( cbxServerAddr, SIGNAL ( editTextChanged ( const QString& ) ),
|
||||||
this, SLOT ( OnServerAddrEditTextChanged ( const QString& ) ) );
|
this, SLOT ( OnServerAddrEditTextChanged ( const QString& ) ) );
|
||||||
|
|
Loading…
Reference in a new issue