summaryrefslogtreecommitdiff
path: root/src/gui
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 /src/gui
parent2542ccea72e93569bfc48bee10107dd0e159f915 (diff)
downloadmana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.gz
mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.bz2
mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.xz
mana-3f81292e7b98817575b7830b218845d63e38dcd2.zip
Fixed visibility of item amount window.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp1
-rw-r--r--src/gui/item_amount.cpp3
2 files changed, 3 insertions, 1 deletions
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()