diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 21:50:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 21:50:46 +0300 |
commit | 03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (patch) | |
tree | e60a1fd194180fea9dd37553c97ab2e28f4cdfc7 /src/gui/windows/itemamountwindow.cpp | |
parent | 6d95f9aeff5dcfc791520e0ffb10cc34ecc348a0 (diff) | |
download | mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.gz mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.bz2 mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.tar.xz mv-03f4d4beaaa2ea4ac99aa746460283d4ca644a3f.zip |
Remove default parameters from dropdown.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 773e53e82..1e568572a 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -187,7 +187,12 @@ ItemAmountWindow::ItemAmountWindow(const ItemAmountWindowUsageT usage, if (mUsage == ItemAmountWindowUsage::ShopBuyAdd) { mItemsModal = new ItemsModal; - mItemDropDown = new DropDown(this, mItemsModal); + mItemDropDown = new DropDown(this, + mItemsModal, + false, + Modal_false, + nullptr, + std::string()); mItemDropDown->setActionEventId("itemType"); mItemDropDown->addActionListener(this); } |