summaryrefslogtreecommitdiff
path: root/src/gui/windows/maileditwindow.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/maileditwindow.cpp
parent040fac18a01fbfe6cbff4ffa24e6543df148bafe (diff)
downloadmanaverse-49ab9391a9d49580603858b1222dd39542111583.tar.gz
manaverse-49ab9391a9d49580603858b1222dd39542111583.tar.bz2
manaverse-49ab9391a9d49580603858b1222dd39542111583.tar.xz
manaverse-49ab9391a9d49580603858b1222dd39542111583.zip
Remove default parameters from itemcontainer.
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r--src/gui/windows/maileditwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index 5ca0d34c6..08f70b4fa 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -76,7 +76,8 @@ MailEditWindow::MailEditWindow() :
mMessageField(new TextField(this)),
mInventory(new Inventory(InventoryType::MailEdit,
settings.enableNewMailSystem ? -1 : 1)),
- mItemContainer(new ItemContainer(this, mInventory)),
+ mItemContainer(new ItemContainer(this, mInventory, 100000,
+ ShowEmptyRows_false, ForceQuantity_false)),
mItemScrollArea(new ScrollArea(this, mItemContainer,
fromBool(getOptionBool("showitemsbackground"), Opaque),
"mailedit_listbackground.xml")),