summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
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);