summaryrefslogtreecommitdiff
path: root/ldmicro/commentdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/commentdialog.cpp')
-rw-r--r--ldmicro/commentdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldmicro/commentdialog.cpp b/ldmicro/commentdialog.cpp
index e6743b4..4ceb107 100644
--- a/ldmicro/commentdialog.cpp
+++ b/ldmicro/commentdialog.cpp
@@ -59,6 +59,7 @@ void CommentDialogGetData (char* comment){
MAX_COMMENT_LEN-1);
gtk_widget_set_sensitive (MainWindow, TRUE);
DestroyWindow (CommentDialog);
+ ProgramChanged();
}
// Mouse click callback
@@ -74,12 +75,14 @@ gboolean CommentDialogKeyPress (HWID widget, GdkEventKey* event, gpointer data){
else if (event -> keyval == GDK_KEY_Escape){
DestroyWindow (CommentDialog);
gtk_widget_set_sensitive (MainWindow, TRUE);
+ ProgramChanged();
}
return FALSE;
}
void CommentCallDestroyWindow (HWID widget, gpointer data){
DestroyWindow (CommentDialog);
+ ProgramChanged();
gtk_widget_set_sensitive (MainWindow, TRUE);
}