summaryrefslogtreecommitdiff
path: root/src/gui/char_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_server.cpp')
-rw-r--r--src/gui/char_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index 52b26b9f..40b229a1 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -102,6 +102,8 @@ ServerSelectDialog::action(const std::string& eventId)
const char *host = iptostring(server_info[index]->address);
short port = server_info[index]->port;
openConnection(host, port);
+ okButton->setEnabled(false);
+ //cancelButton->setEnabled(false);
mStatus = NET_CONNECTING;
}
else if (eventId == "cancel") {