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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index aee262d0..6848b4d8 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -51,15 +51,15 @@ static const int boxPosition[][2] = {
};
EquipmentWindow::EquipmentWindow(Equipment *equipment):
-
Window(_("Equipment")),
mEquipment(equipment),
mBackground(NULL),
mSelected(-1)
{
+ setWindowName("Equipment");
setCloseButton(true);
setDefaultSize(5, 195, 216, 260);
- loadWindowState("Equipment");
+ loadWindowState();
mUnequip = new Button(_("Unequip"), "unequip", this);
gcn::Rectangle const &area = getChildrenArea();