diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-03-03 08:45:45 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-03 08:47:24 -0700 |
commit | f5f7a7d5990d1133f714b6cd431aecf6a332fbd5 (patch) | |
tree | a8b0c532a338e3ef95aff6e6404c06fad66bdf43 | |
parent | b1aef06ac85b1ed7db7725e50b2dbfcdfd1a0925 (diff) | |
download | mana-f5f7a7d5990d1133f714b6cd431aecf6a332fbd5.tar.gz mana-f5f7a7d5990d1133f714b6cd431aecf6a332fbd5.tar.bz2 mana-f5f7a7d5990d1133f714b6cd431aecf6a332fbd5.tar.xz mana-f5f7a7d5990d1133f714b6cd431aecf6a332fbd5.zip |
Fix ServerDialog server selection change handling
Reviewed-by: Thorbjørn Lindeijer
-rw-r--r-- | src/gui/serverdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 44998bcc..e9f76436 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -374,12 +374,11 @@ void ServerDialog::valueChanged(const gcn::SelectionEvent &) switch (myServer.type) { case ServerInfo::EATHENA: + case ServerInfo::UNKNOWN: mTypeField->setSelected(0); break; case ServerInfo::MANASERV: mTypeField->setSelected(1); - default: - mTypeField->setSelected(2); break; } setFieldsReadOnly(true); |