From 03f4d4beaaa2ea4ac99aa746460283d4ca644a3f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Dec 2017 21:50:46 +0300 Subject: Remove default parameters from dropdown. --- src/gui/models/playertablemodel.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gui/models/playertablemodel.cpp') 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); -- cgit v1.2.3-70-g09d2