summaryrefslogtreecommitdiff
path: root/src/gui/models/playertablemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models/playertablemodel.cpp')
-rw-r--r--src/gui/models/playertablemodel.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp
index 161e82dc2..6192f8d21 100644
--- a/src/gui/models/playertablemodel.cpp
+++ b/src/gui/models/playertablemodel.cpp
@@ -105,7 +105,12 @@ void PlayerTableModel::playerRelationsUpdated()
Widget *const widget = new Label(this, name);
mWidgets.push_back(widget);
- DropDown *const choicebox = new DropDown(this, mListModel);
+ DropDown *const choicebox = new DropDown(this,
+ mListModel,
+ false,
+ Modal_false,
+ nullptr,
+ std::string());
choicebox->setSelected(CAST_S32(
playerRelations.getRelation(name)));
mWidgets.push_back(choicebox);