summaryrefslogtreecommitdiffstats
path: root/pokemod/Dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Dialog.cpp')
-rw-r--r--pokemod/Dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp
index 43ba518a..15607831 100644
--- a/pokemod/Dialog.cpp
+++ b/pokemod/Dialog.cpp
@@ -637,6 +637,7 @@ QDomElement Dialog::save() const
void Dialog::setDialog(const QString& dialog)
{
m_dialog = dialog;
+ emit(changed());
}
QString Dialog::dialog() const
@@ -652,6 +653,7 @@ void Dialog::insertCommand(const int position, const QString& command)
return;
}
m_dialog.insert(position, command);
+ emit(changed());
}
Dialog& Dialog::operator=(const Dialog& rhs)