summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 01:40:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 01:40:21 +0300
commit71e06c926c4abc34052a3e2073db609d8e63e22c (patch)
tree683045ff5602eb520a7e8dfa1ad50867ad0db2e5 /src/gui/windows/shopwindow.cpp
parent86487ca386118d3a06c029c00ad7f75767c3c719 (diff)
downloadmanaverse-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.gz
manaverse-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.bz2
manaverse-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.xz
manaverse-71e06c926c4abc34052a3e2073db609d8e63e22c.zip
Remove default parameters from editdialog.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index b044831ff..757ffd902 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -372,7 +372,10 @@ void ShopWindow::action(const ActionEvent &event)
// TRANSLATORS: shop rename dialog title
_("Please enter new shop name"),
mSellShopName,
- "OK");
+ "OK",
+ 300,
+ nullptr,
+ Modal_true);
shopRenameListener.setDialog(dialog);
dialog->addActionListener(&shopRenameListener);
}