summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-30 17:47:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-30 18:19:54 +0300
commitbd429077f8985c5ee45a53009d02e2f495b4ad90 (patch)
treeaeaaaba43b24de34af6f332ac200b976b7056371 /src/gui/windows
parentb0388c5ad0a49f65becdee1120d4df476410dd01 (diff)
downloadmanaplus-bd429077f8985c5ee45a53009d02e2f495b4ad90.tar.gz
manaplus-bd429077f8985c5ee45a53009d02e2f495b4ad90.tar.bz2
manaplus-bd429077f8985c5ee45a53009d02e2f495b4ad90.tar.xz
manaplus-bd429077f8985c5ee45a53009d02e2f495b4ad90.zip
Add strong typed bool enum ShowEmptyRows and use it in itemcontainer.
Diffstat (limited to 'src/gui/windows')
-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 f601c6405..e94904a08 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -123,7 +123,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
// TRANSLATORS: npc dialog button
mResetButton(new Button(this, _("Reset"), "reset", this)),
mInventory(new Inventory(InventoryType::NPC, 1)),
- mItemContainer(new ItemContainer(this, mInventory)),
+ mItemContainer(new ItemContainer(this, mInventory, ShowEmptyRows_true)),
mItemScrollArea(new ScrollArea(this, mItemContainer,
getOptionBool("showitemsbackground"), "npc_listbackground.xml")),
mInputState(NPC_INPUT_NONE),