diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 00:43:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 00:43:20 +0300 |
commit | 30ba8a737da8b1811397786106085f2c13167803 (patch) | |
tree | 09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/windows/textcommandeditor.cpp | |
parent | 03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff) | |
download | manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.gz manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.bz2 manaplus-30ba8a737da8b1811397786106085f2c13167803.tar.xz manaplus-30ba8a737da8b1811397786106085f2c13167803.zip |
Remove default parameters from window.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r-- | src/gui/windows/textcommandeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp index d59868131..8f9fedc51 100644 --- a/src/gui/windows/textcommandeditor.cpp +++ b/src/gui/windows/textcommandeditor.cpp @@ -118,7 +118,7 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) : keyboard.setEnabled(false); setWindowName("TextCommandEditor"); - setDefaultSize(w, h, ImagePosition::CENTER); + setDefaultSize(w, h, ImagePosition::CENTER, 0, 0); #ifdef TMWA_SUPPORT mIsMagic->setActionEventId("magic"); @@ -226,7 +226,7 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) : setWidth(w); setHeight(h); - reflowLayout(w); + reflowLayout(w, 0); center(); } |