summaryrefslogtreecommitdiff
path: root/ldmicro/confdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/confdialog.cpp')
-rw-r--r--ldmicro/confdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldmicro/confdialog.cpp b/ldmicro/confdialog.cpp
index 2fd8dd7..c162ac4 100644
--- a/ldmicro/confdialog.cpp
+++ b/ldmicro/confdialog.cpp
@@ -170,6 +170,7 @@ void ConfDialogGetData (GtkWidget* widget, gpointer data){
buf = const_cast <char*> (gtk_entry_get_text (GTK_ENTRY(BaudTextbox)));
Prog.baudRate = atoi(buf);
DestroyWindow (ConfDialog);
+ ProgramChanged();
}
// Checks for the required key press
@@ -179,6 +180,7 @@ gboolean ConfDialogKeyPress (GtkWidget* widget, GdkEventKey* event, gpointer dat
}
else if (event -> keyval == GDK_KEY_Escape){
DestroyWindow (ConfDialog);
+ ProgramChanged();
gtk_widget_set_sensitive (MainWindow, TRUE);
}
return FALSE;
@@ -186,6 +188,7 @@ gboolean ConfDialogKeyPress (GtkWidget* widget, GdkEventKey* event, gpointer dat
void ConfCallDestroyWindow (HWID widget, gpointer data){
DestroyWindow (ConfDialog);
+ ProgramChanged();
gtk_widget_set_sensitive (MainWindow, TRUE);
}