diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
commit | aa7119314e1a33d908b98906d30be94eb116d02d (patch) | |
tree | a99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/windows/textcommandeditor.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2 manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz manaverse-aa7119314e1a33d908b98906d30be94eb116d02d.zip |
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r-- | src/gui/windows/textcommandeditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp index 88aae37c0..bbd1e4c2d 100644 --- a/src/gui/windows/textcommandeditor.cpp +++ b/src/gui/windows/textcommandeditor.cpp @@ -105,11 +105,11 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) : mSchoolLvlField(new IntTextField(this, 0, 0, 0, Enable_true, 0)), #endif // TMWA_SUPPORT // TRANSLATORS: command editor button - mCancelButton(new Button(this, _("Cancel"), "cancel", this)), + mCancelButton(new Button(this, _("Cancel"), "cancel", BUTTON_SKIN, this)), // TRANSLATORS: command editor button - mSaveButton(new Button(this, _("Save"), "save", this)), + mSaveButton(new Button(this, _("Save"), "save", BUTTON_SKIN, this)), // TRANSLATORS: command editor button - mDeleteButton(new Button(this, _("Delete"), "delete", this)), + mDeleteButton(new Button(this, _("Delete"), "delete", BUTTON_SKIN, this)), mEnabledKeyboard(keyboard.isEnabled()) { const int w = 350; |