diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-05-05 13:03:45 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-05-05 13:24:12 -0600 |
commit | ed4c141a666ffa8221da2a8143d51189d12cd60c (patch) | |
tree | 377bf6e6a564a546da7b03f15fa17696e5ee24e3 /src/gui/serverdialog.cpp | |
parent | afc816e3001104653982de25099fcc634d7ed686 (diff) | |
download | mana-ed4c141a666ffa8221da2a8143d51189d12cd60c.tar.gz mana-ed4c141a666ffa8221da2a8143d51189d12cd60c.tar.bz2 mana-ed4c141a666ffa8221da2a8143d51189d12cd60c.tar.xz mana-ed4c141a666ffa8221da2a8143d51189d12cd60c.zip |
Fix showing the type of the default server
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 0fba5638..c79925b3 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -219,6 +219,8 @@ ServerDialog::ServerDialog(ServerInfo *serverInfo, const std::string &dir): mTypeListModel = new TypeListModel(); mTypeField = new DropDown(mTypeListModel); + mTypeField->setSelected((serverInfo->type == ServerInfo::MANASERV) ? + 1 : 0); mDescription = new Label(std::string()); |