summaryrefslogtreecommitdiff
path: root/src
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
parent54d570f61e51066abfbaeee7838d8ab4a707d132 (diff)
downloadplus-a10238a54d4a065010072784fcc7fce536fb12a3.tar.gz
plus-a10238a54d4a065010072784fcc7fce536fb12a3.tar.bz2
plus-a10238a54d4a065010072784fcc7fce536fb12a3.tar.xz
plus-a10238a54d4a065010072784fcc7fce536fb12a3.zip
Fix height in text command editor.
Diffstat (limited to 'src')
-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);