diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-24 01:57:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-24 01:57:39 +0000 |
commit | d5e8513e085b6fc8da2ea4bb7151ac8e98be74c8 (patch) | |
tree | 0990fc8565e99c321344283139eb419829769d7a /src/gui/login.cpp | |
parent | a34741f590ed24c2a6e0c0ebbde832572c606b94 (diff) | |
download | mana-d5e8513e085b6fc8da2ea4bb7151ac8e98be74c8.tar.gz mana-d5e8513e085b6fc8da2ea4bb7151ac8e98be74c8.tar.bz2 mana-d5e8513e085b6fc8da2ea4bb7151ac8e98be74c8.tar.xz mana-d5e8513e085b6fc8da2ea4bb7151ac8e98be74c8.zip |
Go back to login or register state on error, depending on what the user was
doing, and fixed the error message when registering an account that already
exists. Also another crash fix following from previous commit.
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 00b99e72..4e4c5b34 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -125,6 +125,7 @@ LoginDialog::action(const gcn::ActionEvent &event) mLoginData->username = mUserField->getText(); mLoginData->password = mPassField->getText(); mLoginData->remember = mKeepCheck->isMarked(); + mLoginData->registerLogin = false; mOkButton->setEnabled(false); mRegisterButton->setEnabled(false); |