summaryrefslogtreecommitdiff
path: root/ldmicro/confdialog.cpp
diff options
context:
space:
mode:
authorakshay-c2019-02-28 10:16:04 +0530
committerakshay-c2019-02-28 10:16:04 +0530
commit3a860d665bf30156d88151998da71e6aebf3f11c (patch)
treeb822fb7187b62a3ca2a1877c65cc9df9fde40507 /ldmicro/confdialog.cpp
parentc41c6cc508d94d97eed40ad8efd4b8dfd4a105f6 (diff)
downloadLDMicroGtk-3a860d665bf30156d88151998da71e6aebf3f11c.tar.gz
LDMicroGtk-3a860d665bf30156d88151998da71e6aebf3f11c.tar.bz2
LDMicroGtk-3a860d665bf30156d88151998da71e6aebf3f11c.zip
McuSettings issue resolved
Diffstat (limited to 'ldmicro/confdialog.cpp')
-rw-r--r--ldmicro/confdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldmicro/confdialog.cpp b/ldmicro/confdialog.cpp
index 099d35a..f707c02 100644
--- a/ldmicro/confdialog.cpp
+++ b/ldmicro/confdialog.cpp
@@ -171,6 +171,7 @@ void ConfDialogGetData (GtkWidget* widget, gpointer data){
Prog.baudRate = atoi(buf);
DestroyWindow (ConfDialog);
ProgramChanged();
+ gtk_widget_set_sensitive (MainWindow, TRUE);
}
// Checks for the required key press
@@ -206,7 +207,8 @@ void ConfDialogSignalCall () {
G_CALLBACK(ConfDialogGetData), NULL);
g_signal_connect (G_OBJECT (CancelButton), "clicked",
G_CALLBACK(ConfCallDestroyWindow), NULL);
- g_signal_connect (ConfDialog, "delete_event", G_CALLBACK (ConfCallDestroyWindow), NULL);
+ g_signal_connect (ConfDialog, "delete_event",
+ G_CALLBACK (ConfCallDestroyWindow), NULL);
}
void ShowConfDialog(void)