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')
-rw-r--r--src/client/inventorylistview.cc9
-rw-r--r--src/client/savegamemenu.cc1
2 files changed, 6 insertions, 4 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();
diff --git a/src/client/savegamemenu.cc b/src/client/savegamemenu.cc
index a0da087..e39d59b 100644
--- a/src/client/savegamemenu.cc
+++ b/src/client/savegamemenu.cc
@@ -284,7 +284,6 @@ void SaveGameMenu::hide()
void SaveGameMenu::show()
{
Window::show();
- event_resize();
refresh();
}