summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.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/charselectdialog.cpp
parent86487ca386118d3a06c029c00ad7f75767c3c719 (diff)
downloadplus-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.gz
plus-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.bz2
plus-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.xz
plus-71e06c926c4abc34052a3e2073db609d8e63e22c.zip
Remove default parameters from editdialog.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index fb759eb96..a8da297cb 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -177,7 +177,10 @@ void CharSelectDialog::postInit()
// TRANSLATORS: pin code dialog header.
_("Please set new pincode"),
"",
- "OK");
+ "OK",
+ 300,
+ nullptr,
+ Modal_true);
dialog->addActionListener(&pincodeListener);
}
}
@@ -227,7 +230,10 @@ void CharSelectDialog::action(const ActionEvent &event)
// TRANSLATORS: character rename dialog header.
_("Please enter new name"),
player->getName(),
- "OK");
+ "OK",
+ 300,
+ nullptr,
+ Modal_true);
charRenameListener.setId(player->getId());
charRenameListener.setDialog(dialog);
dialog->addActionListener(&charRenameListener);