summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp3
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);