summaryrefslogtreecommitdiff
path: root/src/gui
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/gui
parent22b8f9c3d73e56e13c4b52b3b0e3d1b8017df28b (diff)
downloadplus-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.tar.gz
plus-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.tar.bz2
plus-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.tar.xz
plus-a75d8d325bc877ab5ff9d76b0213e57a4cfe9cf1.zip
Fix equipment window if equipmentwindow.xml is missing.
Diffstat (limited to 'src/gui')
-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);