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-03-19 21:03:47 +0000
committerStijn Buys <ingar@osirion.org>2012-03-19 21:03:47 +0000
commitc4cd091c43ade80033f41c1ceda5c9f51979dcbc (patch)
tree91b7b73cda8847c571d7aeaa7c38cfb48ce0a860 /src/client/buymenu.cc
parent3c66f020bbe244e85da8cd92208b69cdba83ab97 (diff)
Resolved a ModelView related segfault when opening the buy menu and a potental segfault in the inventory window.
Diffstat (limited to 'src/client/buymenu.cc')
-rw-r--r--src/client/buymenu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/buymenu.cc b/src/client/buymenu.cc
index 6812bce..ae941f8 100644
--- a/src/client/buymenu.cc
+++ b/src/client/buymenu.cc
@@ -77,7 +77,7 @@ void BuyMenu::set_item(core::Info *info)
{
menu_infotext.clear();
menu_namelabel->set_text(0);
- menu_modelview->set_modelname(0);
+ menu_modelview->clear();
menu_buybutton->hide();
menu_modelview->hide();
menu_msgtext->hide();