Fix Light Intensity Dialog when using accelerator

This commit is contained in:
Pan7 2017-08-13 03:12:28 +02:00
parent 0ce9827961
commit 7d96eec99a

View file

@ -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 {