summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/typelistmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h
index bd27fce39..7a50c6905 100644
--- a/src/gui/models/typelistmodel.h
+++ b/src/gui/models/typelistmodel.h
@@ -60,13 +60,14 @@ class TypeListModel final : public ListModel
else if (elementIndex == 2)
return "eAthena";
#endif // EATHENA_SUPPORT
+ else
#else // TMWA_SUPPORT
#ifdef EATHENA_SUPPORT
if (elementIndex == 0)
return "eAthena";
+ else
#endif // EATHENA_SUPPORT
#endif // TMWA_SUPPORT
- else
return "Unknown";
}
};