diff options
author | Akshay Chipkar | 2018-07-23 16:34:58 +0530 |
---|---|---|
committer | GitHub | 2018-07-23 16:34:58 +0530 |
commit | 1d62b0b7053e4f5a8cb6fb9e3b33cf3335b103c8 (patch) | |
tree | a03bc8aa7aae44f3c8305b59a320613d579b8bdb /ldmicro/confdialog.cpp | |
parent | 64b9b4a7cf9d7aa0c947c8771eb43d7a60f1f2f1 (diff) | |
parent | 61ffc674a34b8c3ff9c986dedfe90072b5a16369 (diff) | |
download | LDMicroGtk-1d62b0b7053e4f5a8cb6fb9e3b33cf3335b103c8.tar.gz LDMicroGtk-1d62b0b7053e4f5a8cb6fb9e3b33cf3335b103c8.tar.bz2 LDMicroGtk-1d62b0b7053e4f5a8cb6fb9e3b33cf3335b103c8.zip |
Merge pull request #41 from FOSSEE/GUI_port
Big fixes
Diffstat (limited to 'ldmicro/confdialog.cpp')
-rw-r--r-- | ldmicro/confdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldmicro/confdialog.cpp b/ldmicro/confdialog.cpp index 1830de9..099d35a 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); } |