summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
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/widgets/setupitem.cpp
parent6d95f9aeff5dcfc791520e0ffb10cc34ecc348a0 (diff)
downloadmv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.gz
mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.bz2
mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.xz
mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.zip
Remove default parameters from dropdown.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp14
1 files changed, 12 insertions, 2 deletions
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);