summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-18 20:09:17 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-18 20:09:17 +0300
commita10238a54d4a065010072784fcc7fce536fb12a3 (patch)
tree7aee7a3be2fbb47874bd41d43b04de0953513a19 /src/gui
parent54d570f61e51066abfbaeee7838d8ab4a707d132 (diff)
downloadmanaplus-a10238a54d4a065010072784fcc7fce536fb12a3.tar.gz
manaplus-a10238a54d4a065010072784fcc7fce536fb12a3.tar.bz2
manaplus-a10238a54d4a065010072784fcc7fce536fb12a3.tar.xz
manaplus-a10238a54d4a065010072784fcc7fce536fb12a3.zip
Fix height in text command editor.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/textcommandeditor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp
index 8dcfe01b3..eddb49180 100644
--- a/src/gui/textcommandeditor.cpp
+++ b/src/gui/textcommandeditor.cpp
@@ -287,6 +287,8 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
setWidth(w);
setHeight(h);
+ reflowLayout(w);
+
center();
enableVisibleSound(true);