From 5d219871ad590383f19b692eef02f2bbf893baf6 Mon Sep 17 00:00:00 2001 From: Max-Wilhelm Bruker Date: Tue, 26 Jun 2012 20:22:50 +0200 Subject: [PATCH] client: disable Ok button in 'load deck from server' dialog by default --- cockatrice/src/dlg_load_remote_deck.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cockatrice/src/dlg_load_remote_deck.cpp b/cockatrice/src/dlg_load_remote_deck.cpp index d429cf35..1ebcf056 100644 --- a/cockatrice/src/dlg_load_remote_deck.cpp +++ b/cockatrice/src/dlg_load_remote_deck.cpp @@ -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()));