diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-30 17:47:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-30 18:19:54 +0300 |
commit | bd429077f8985c5ee45a53009d02e2f495b4ad90 (patch) | |
tree | aeaaaba43b24de34af6f332ac200b976b7056371 /src/gui/windows/npcdialog.cpp | |
parent | b0388c5ad0a49f65becdee1120d4df476410dd01 (diff) | |
download | manaplus-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/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 2 |
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), |