Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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();