summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index 3dd7dd72b..5e5997985 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -223,6 +223,7 @@ void EditServerDialog::action(const ActionEvent &event)
mPortField->getText().c_str()));
mServer.persistentIp = mPersistentIp->isSelected();
+#if defined(TMWA_SUPPORT) || defined(EATHENA_SUPPORT)
if (mTypeField)
{
switch (mTypeField->getSelected())
@@ -252,6 +253,7 @@ void EditServerDialog::action(const ActionEvent &event)
}
}
else
+#endif // defined(TMWA_SUPPORT) || defined(EATHENA_SUPPORT)
{
mServer.type = ServerInfo::TMWATHENA;
}