diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-23 01:40:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-23 01:40:21 +0300 |
commit | 71e06c926c4abc34052a3e2073db609d8e63e22c (patch) | |
tree | 683045ff5602eb520a7e8dfa1ad50867ad0db2e5 /src/gui/widgets/setupitem.cpp | |
parent | 86487ca386118d3a06c029c00ad7f75767c3c719 (diff) | |
download | mv-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.gz mv-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.bz2 mv-71e06c926c4abc34052a3e2073db609d8e63e22c.tar.xz mv-71e06c926c4abc34052a3e2073db609d8e63e22c.zip |
Remove default parameters from editdialog.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index cc6ded02e..abe67d746 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -421,7 +421,10 @@ void SetupItemTextField::action(const ActionEvent &event) mEditDialog = CREATEWIDGETR(EditDialog, mText, mTextField->getText(), - mEventName + "_EDIT_OK"); + mEventName + "_EDIT_OK", + 300, + nullptr, + Modal_true); mEditDialog->addActionListener(this); } else if (eventId == mEventName + "_EDIT_OK") @@ -559,7 +562,10 @@ void SetupItemIntTextField::action(const ActionEvent &event) mEditDialog = CREATEWIDGETR(EditDialog, mText, mTextField->getText(), - mEventName + "_EDIT_OK"); + mEventName + "_EDIT_OK", + 300, + nullptr, + Modal_true); mEditDialog->addActionListener(this); } else if (eventId == mEventName + "_EDIT_OK") |