From 3f81292e7b98817575b7830b218845d63e38dcd2 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 5 Dec 2006 23:17:45 +0000 Subject: Fixed visibility of item amount window. --- ChangeLog | 8 ++++++-- src/gui/gui.cpp | 1 + src/gui/item_amount.cpp | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 049b0bdd..27f5e71f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,14 @@ -2006-12-05 Philipp Sehmisch +2006-12-06 Bjørn Lindeijer + + * src/gui/item_amount.cpp: Fixed visibility of item amount window. + +2006-12-05 Philipp Sehmisch * data/graphics/tiles/desert1.png: Improved the tiling behavior of the cliffs (still not gridless but at least the edges fit together in the most common situations) -2006-12-04 Bjørn Lindeijer +2006-12-04 Bjørn Lindeijer * src/game.cpp, src/engine.h, src/gui/windowcontainer.h, src/gui/viewport.cpp, src/gui/gui.cpp, src/gui/gui.h, diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 8d323fb8..cc338fa8 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -184,6 +184,7 @@ Gui::~Gui() delete mGuiFont; delete speechFont; + delete viewport; delete mTop; delete mImageLoader; delete mHostImageLoader; diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 3f8daddd..afc3ac44 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -18,7 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id $ + * $Id$ */ #include "item_amount.h" @@ -87,6 +87,7 @@ ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item): setContentSize(200, 80); setLocationRelativeTo(getParentWindow()); + setVisible(true); } void ItemAmountWindow::resetAmount() -- cgit v1.2.3-70-g09d2