summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-29 01:13:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-29 01:13:35 +0300
commita75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1 (patch)
tree61ae956035150f6fbd25880b164744cb9c802533 /src
parent22b8f9c3d73e56e13c4b52b3b0e3d1b8017df28b (diff)
downloadmanaverse-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.tar.gz
manaverse-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.tar.bz2
manaverse-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.tar.xz
manaverse-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.zip
Fix equipment window if equipmentwindow.xml is missing.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/equipmentwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 8ae30e055..76863ffbd 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -709,6 +709,7 @@ void EquipmentWindow::fillDefault()
if (mImageSet)
mImageSet->decRef();
+ addDefaultPage();
mImageSet = Theme::getImageSetFromTheme(
"equipmentbox.png", 32, 32);