Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-29 15:16:17 +0000
committerStijn Buys <ingar@osirion.org>2012-01-29 15:16:17 +0000
commit52bd0792d15e9a814cd38cf77b26784003b8569f (patch)
treeaaf0429fe0d93f66b3ecad49fb313523b3b24134 /src/client/inventorylistview.cc
parent46b534fbc2b0468f112676ee3149a57088eff97b (diff)
Diffstat (limited to 'src/client/inventorylistview.cc')
-rw-r--r--src/client/inventorylistview.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/inventorylistview.cc b/src/client/inventorylistview.cc
index 5b1dbde..ed3419d 100644
--- a/src/client/inventorylistview.cc
+++ b/src/client/inventorylistview.cc
@@ -22,15 +22,18 @@ InventoryListView::InventoryListView(ui::Widget *parent) : ui::ListView (parent)
listview_infotimestamp = 0;
listview_showempty = false;
- set_inventory(0, 0);
+ listview_timestamp = 0;
+ listview_infotimestamp = 0;
+ listview_inventory = 0;
}
-InventoryListView::~InventoryListView() {
+InventoryListView::~InventoryListView()
+{
}
void InventoryListView::set_inventory(core::Inventory *inventory, core::InfoType *infotype)
{
- remove_children();
+ ListView::clear();
deselect();