client: disable Ok button in 'load deck from server' dialog by default
This commit is contained in:
parent
7f0b13530d
commit
5d219871ad
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ DlgLoadRemoteDeck::DlgLoadRemoteDeck(AbstractClient *_client, QWidget *parent)
|
|||
dirView = new RemoteDeckList_TreeWidget(client);
|
||||
|
||||
buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
|
||||
buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
|
||||
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
|
||||
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue