diff options
author | Stijn Buys <ingar@osirion.org> | 2012-01-29 15:16:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-01-29 15:16:17 +0000 |
commit | 52bd0792d15e9a814cd38cf77b26784003b8569f (patch) | |
tree | aaf0429fe0d93f66b3ecad49fb313523b3b24134 /src/client | |
parent | 46b534fbc2b0468f112676ee3149a57088eff97b (diff) |
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/inventorylistview.cc | 9 | ||||
-rw-r--r-- | src/client/savegamemenu.cc | 1 |
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(); } |