summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-01-02 11:34:09 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-01-02 11:34:09 +0000
commit25d7576e6b10e5fa5c6981470d0ccd5f005e5650 (patch)
tree7caa7e6d6294efa410547adcfcb43236ac135920 /src/gui/login.cpp
parent6573cf6072c39396d2526edeff41449ea16e7288 (diff)
downloadmana-25d7576e6b10e5fa5c6981470d0ccd5f005e5650.tar.gz
mana-25d7576e6b10e5fa5c6981470d0ccd5f005e5650.tar.bz2
mana-25d7576e6b10e5fa5c6981470d0ccd5f005e5650.tar.xz
mana-25d7576e6b10e5fa5c6981470d0ccd5f005e5650.zip
Smoothed also character creation, buttons are now disabled during connection/data phase.
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 722911ca..b24c4629 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -183,6 +183,9 @@ LoginDialog::action(const std::string& eventId)
short port = (short)config.getValue("port", 0);
// Attempt to connect to login server
openConnection(host.c_str(), port);
+ okButton->setEnabled(false);
+ //cancelButton->setEnabled(false);
+ registerButton->setEnabled(false);
mStatus = NET_CONNECTING;
}
}