summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-05 23:17:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-05 23:17:45 +0000
commit3f81292e7b98817575b7830b218845d63e38dcd2 (patch)
treea872c3124720b0328bd5007833e01baf2003ee73
parent2542ccea72e93569bfc48bee10107dd0e159f915 (diff)
downloadmana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.gz
mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.bz2
mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.xz
mana-3f81292e7b98817575b7830b218845d63e38dcd2.zip
Fixed visibility of item amount window.
-rw-r--r--ChangeLog8
-rw-r--r--src/gui/gui.cpp1
-rw-r--r--src/gui/item_amount.cpp3
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 <tmw@crushnet.org>
+2006-12-06 Bjørn Lindeijer <bjorn@lindeijer.nl>
+
+ * src/gui/item_amount.cpp: Fixed visibility of item amount window.
+
+2006-12-05 Philipp Sehmisch <tmw@crushnet.org>
* 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 <bjorn@lindeijer>
+2006-12-04 Bjørn Lindeijer <bjorn@lindeijer.nl>
* 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()