From 7d96eec99ada024ba6478ec85b973206a97d06cb Mon Sep 17 00:00:00 2001 From: Pan7 Date: Sun, 13 Aug 2017 03:12:28 +0200 Subject: [PATCH] Fix Light Intensity Dialog when using accelerator --- radiant/gtkdlgs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index 5f35fca3..6ade6643 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -3627,6 +3627,7 @@ int DoLightIntensityDlg( int *intensity ){ response_id = gtk_dialog_run( GTK_DIALOG( dialog ) ); if( response_id == GTK_RESPONSE_OK ) { + gtk_spin_button_update( GTK_SPIN_BUTTON( spinbutton ) ); *intensity = gtk_spin_button_get_value_as_int( GTK_SPIN_BUTTON( spinbutton ) ); ret = IDOK; } else {