diff options
Diffstat (limited to 'src/client/inventorylistview.h')
-rw-r--r-- | src/client/inventorylistview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/inventorylistview.h b/src/client/inventorylistview.h index 0d14072..ff10aa1 100644 --- a/src/client/inventorylistview.h +++ b/src/client/inventorylistview.h @@ -21,6 +21,10 @@ public: void set_inventory(core::Inventory *inventory, core::InfoType *infotype); + inline const core::Inventory *inventory() const { + return listview_inventory; + } + protected: virtual void draw(); |