summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 248e87f8..1aa5a05f 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -39,9 +39,10 @@
EquipmentWindow::EquipmentWindow():
Window("Equipment")
{
- setContentSize(200, 90);
- setPosition(40, 40);
setWindowName("Equipment");
+ setDefaultSize(5, 160, 200, 90);
+ loadWindowState();
+
ResourceManager *resman = ResourceManager::getInstance();
Image *itemImg = resman->getImage("graphics/sprites/items.png");