diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-05 23:17:45 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-05 23:17:45 +0000 |
commit | 3f81292e7b98817575b7830b218845d63e38dcd2 (patch) | |
tree | a872c3124720b0328bd5007833e01baf2003ee73 /src | |
parent | 2542ccea72e93569bfc48bee10107dd0e159f915 (diff) | |
download | mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.gz mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.bz2 mana-3f81292e7b98817575b7830b218845d63e38dcd2.tar.xz mana-3f81292e7b98817575b7830b218845d63e38dcd2.zip |
Fixed visibility of item amount window.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui.cpp | 1 | ||||
-rw-r--r-- | src/gui/item_amount.cpp | 3 |
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() |