diff options
author | Rr42 | 2018-06-29 20:05:46 +0530 |
---|---|---|
committer | Rr42 | 2018-06-29 20:05:46 +0530 |
commit | 61ffc674a34b8c3ff9c986dedfe90072b5a16369 (patch) | |
tree | 85de2c62f944d6afe75cde493035245098b8fbf4 /ldmicro/resetdialog.cpp | |
parent | c263989e44c4a6449787552ece3de72303dd1818 (diff) | |
download | LDMicroGtk-61ffc674a34b8c3ff9c986dedfe90072b5a16369.tar.gz LDMicroGtk-61ffc674a34b8c3ff9c986dedfe90072b5a16369.tar.bz2 LDMicroGtk-61ffc674a34b8c3ff9c986dedfe90072b5a16369.zip |
Patch: Fixes bug where the IoList table did not update on name change.
Diffstat (limited to 'ldmicro/resetdialog.cpp')
-rw-r--r-- | ldmicro/resetdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ldmicro/resetdialog.cpp b/ldmicro/resetdialog.cpp index 238814a..ff250df 100644 --- a/ldmicro/resetdialog.cpp +++ b/ldmicro/resetdialog.cpp @@ -96,6 +96,7 @@ void ResetDialogGetData (char* name){ strcpy (name+1, gtk_entry_get_text (GTK_ENTRY (NameTextbox))); gtk_widget_set_sensitive (MainWindow, TRUE); DestroyWindow (ResetDialog); + ProgramChanged(); } // Mouse click callback @@ -110,6 +111,7 @@ gboolean ResetDialogKeyPress (HWID widget, GdkEventKey* event, gpointer data){ } else if (event -> keyval == GDK_KEY_Escape){ DestroyWindow (ResetDialog); + ProgramChanged(); gtk_widget_set_sensitive (MainWindow, TRUE); } return FALSE; @@ -117,6 +119,7 @@ gboolean ResetDialogKeyPress (HWID widget, GdkEventKey* event, gpointer data){ void ResetCallDestroyWindow (HWID widget, gpointer data){ DestroyWindow (ResetDialog); + ProgramChanged(); gtk_widget_set_sensitive (MainWindow, TRUE); } |