summaryrefslogtreecommitdiff
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
parent54d570f61e51066abfbaeee7838d8ab4a707d132 (diff)
downloadmv-a10238a54d4a065010072784fcc7fce536fb12a3.tar.gz
mv-a10238a54d4a065010072784fcc7fce536fb12a3.tar.bz2
mv-a10238a54d4a065010072784fcc7fce536fb12a3.tar.xz
mv-a10238a54d4a065010072784fcc7fce536fb12a3.zip
Fix height in text command editor.
-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);