summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index 6d89e67d7..41b6c9355 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -237,7 +237,7 @@ void BuyDialog::init()
setStickyButtonLock(true);
setMinWidth(260);
setMinHeight(220);
- setDefaultSize(260, 230, ImageRect::CENTER);
+ setDefaultSize(260, 230, ImagePosition::CENTER);
// reset advance flag for personal shops and cash shop
if (mAdvanced &&