mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-09 17:46:07 -05:00
client: disable Ok button in 'load deck from server' dialog by default
This commit is contained in:
@@ -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()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user