summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/textcommandeditor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index bbd1e4c2d..c9d48f21c 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -167,6 +167,11 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
- MAGIC_START_ID);
mSchoolLvlField->setValue(command->getSchoolLvl());
#endif // TMWA_SUPPORT
+
+ mSymbolTextField->setText(command->getSymbol());
+ mCommandTextField->setText(command->getCommand());
+ mCommentTextField->setText(command->getComment());
+ mTypeDropDown->setSelected(CAST_S32(command->getTargetType()));
}
ContainerPlacer placer(nullptr, nullptr);