summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/textcommandeditor.cpp3
-rw-r--r--src/gui/windows/textcommandeditor.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index e7bd8eb2c..da0eadfec 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -296,7 +296,10 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
reflowLayout(w);
center();
+}
+void TextCommandEditor::postInit()
+{
enableVisibleSound(true);
setVisible(true);
}
diff --git a/src/gui/windows/textcommandeditor.h b/src/gui/windows/textcommandeditor.h
index 1a1138b3a..cd080aebb 100644
--- a/src/gui/windows/textcommandeditor.h
+++ b/src/gui/windows/textcommandeditor.h
@@ -53,6 +53,8 @@ class TextCommandEditor final : public Window, public gcn::ActionListener
*/
~TextCommandEditor();
+ void postInit() override;
+
void action(const gcn::ActionEvent &event) override;
void scheduleDelete() override;