From adeb8e6091694e228f081ca8843e101ae598f26c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 31 Aug 2011 23:24:57 +0300 Subject: Add ability to lock any window position and size. Using sticky image for this. --- src/gui/shopwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/shopwindow.cpp') diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 38985a01c..9aaf88bf3 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -86,6 +86,7 @@ ShopWindow::ShopWindow(): setWindowName("Personal Shop"); setResizable(true); setCloseButton(true); + setStickyButtonLock(true); setMinWidth(260); setMinHeight(230); setDefaultSize(380, 300, ImageRect::CENTER); -- cgit v1.2.3-60-g2f50