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/widgets/setupitem.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/setupitem.cpp') diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 06f895f83..018ed30d8 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -697,7 +697,12 @@ void SetupItemDropDown::createControls() mLabel = new Label(this, mText); mLabel->setToolTip(mDescription); - mDropDown = new DropDown(this, mModel); + mDropDown = new DropDown(this, + mModel, + false, + Modal_false, + nullptr, + std::string()); mDropDown->setActionEventId(mEventName); mDropDown->addActionListener(mParent); mDropDown->setWidth(mWidth); @@ -798,7 +803,12 @@ void SetupItemDropDownStr::createControls() mLabel = new Label(this, mText); mLabel->setToolTip(mDescription); - mDropDown = new DropDown(this, mModel); + mDropDown = new DropDown(this, + mModel, + false, + Modal_false, + nullptr, + std::string()); mDropDown->setActionEventId(mEventName); mDropDown->addActionListener(mParent); mDropDown->setWidth(mWidth); -- cgit v1.2.3-70-g09d2