summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 18:51:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 18:51:58 +0300
commit49ab9391a9d49580603858b1222dd39542111583 (patch)
tree86271710648924c76a891700c4288dcfa496568e /src/gui/windows/npcdialog.cpp
parent040fac18a01fbfe6cbff4ffa24e6543df148bafe (diff)
downloadmanaplus-49ab9391a9d49580603858b1222dd39542111583.tar.gz
manaplus-49ab9391a9d49580603858b1222dd39542111583.tar.bz2
manaplus-49ab9391a9d49580603858b1222dd39542111583.tar.xz
manaplus-49ab9391a9d49580603858b1222dd39542111583.zip
Remove default parameters from itemcontainer.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index ab6e4bc71..bb770d1e0 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -138,7 +138,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
mInventory(new Inventory(InventoryType::Npc, 1)),
mComplexInventory(new ComplexInventory(InventoryType::Craft, 1)),
mItemContainer(new ItemContainer(this, mInventory,
- 10000, ShowEmptyRows_true)),
+ 10000, ShowEmptyRows_true, ForceQuantity_false)),
mItemScrollArea(new ScrollArea(this, mItemContainer,
fromBool(getOptionBool("showitemsbackground"), Opaque),
"npc_listbackground.xml")),