diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 12:37:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | a259a5380ca980da4fcfb866777192231aa9f854 (patch) | |
tree | 3e582a1bfa031162c132622b26ee73f388a9c0f0 /src/gui/windows/textcommandeditor.cpp | |
parent | da34f018eb4e67452e314487cb547a8393afeff2 (diff) | |
download | manaplus-a259a5380ca980da4fcfb866777192231aa9f854.tar.gz manaplus-a259a5380ca980da4fcfb866777192231aa9f854.tar.bz2 manaplus-a259a5380ca980da4fcfb866777192231aa9f854.tar.xz manaplus-a259a5380ca980da4fcfb866777192231aa9f854.zip |
move virtual member calls from textcommandeditor constructor into postInit.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r-- | src/gui/windows/textcommandeditor.cpp | 3 |
1 files changed, 3 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); } |