From 25d7576e6b10e5fa5c6981470d0ccd5f005e5650 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Mon, 2 Jan 2006 11:34:09 +0000 Subject: Smoothed also character creation, buttons are now disabled during connection/data phase. --- src/gui/char_server.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/char_server.cpp') 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") { -- cgit v1.2.3-70-g09d2