summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 21:50:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 21:50:46 +0300
commit03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (patch)
treee60a1fd194180fea9dd37553c97ab2e28f4cdfc7 /src/gui/models
parent6d95f9aeff5dcfc791520e0ffb10cc34ecc348a0 (diff)
downloadManaVerse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.gz
ManaVerse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.bz2
ManaVerse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.xz
ManaVerse-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.zip
Remove default parameters from dropdown.
Diffstat (limited to 'src/gui/models')
-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);