Commit 00166944e9ea2a988ddd35fe9146946d67407172

Authored by Perry Werneck
1 parent 40cc3b7c
Exists in master and in 1 other branch develop

Unlock delay setting wasn't being updated from host settings dialog.

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/dialogs/settings/host.c
@@ -760,6 +760,9 @@ static void apply(GtkWidget *w, GtkWidget *terminal) @@ -760,6 +760,9 @@ static void apply(GtkWidget *w, GtkWidget *terminal)
760 // Apply auto-disconnect 760 // Apply auto-disconnect
761 v3270_set_auto_disconnect(terminal,gtk_spin_button_get_value_as_int(widget->input.auto_disconnect)); 761 v3270_set_auto_disconnect(terminal,gtk_spin_button_get_value_as_int(widget->input.auto_disconnect));
762 762
  763 + // Apply unlock-delay
  764 + lib3270_set_unlock_delay(hSession, (unsigned int) gtk_spin_button_get_value(widget->input.unlock_delay));
  765 +
763 } 766 }
764 767
765 static void load(GtkWidget *w, GtkWidget *terminal) 768 static void load(GtkWidget *w, GtkWidget *terminal)