diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-24 00:27:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-24 00:27:10 +0300 |
commit | cc965406e7903e890fc0c797c2684efc5c4624a6 (patch) | |
tree | 72efca27600ae734efa07d5194ff36db8767474a /src/gui/windows/outfitwindow.cpp | |
parent | 7467404f40f2d6cde3bf46fcda03631a0f1ad797 (diff) | |
download | manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.gz manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.bz2 manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.tar.xz manaplus-cc965406e7903e890fc0c797c2684efc5c4624a6.zip |
Add missing windows into reset to default size list.
Diffstat (limited to 'src/gui/windows/outfitwindow.cpp')
-rw-r--r-- | src/gui/windows/outfitwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp index b2b62192a..85522ade1 100644 --- a/src/gui/windows/outfitwindow.cpp +++ b/src/gui/windows/outfitwindow.cpp @@ -35,6 +35,8 @@ #include "gui/viewport.h" +#include "gui/windows/setupwindow.h" + #include "gui/widgets/button.h" #include "gui/widgets/checkbox.h" #include "gui/widgets/label.h" @@ -94,6 +96,9 @@ OutfitWindow::OutfitWindow() : setMinWidth(145); setMinHeight(220); + if (setupWindow) + setupWindow->registerWindowForReset(this); + mCurrentLabel->setAlignment(Graphics::CENTER); mKeyLabel->setAlignment(Graphics::CENTER); |