From: John Darrington Date: Sat, 19 Sep 2020 04:21:14 +0000 (+0200) Subject: Examine Plots Dialog : Set combo box sensitivity X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7ac0b063d5dd2b79ef8b3cf9afff2008d50767;p=pspp Examine Plots Dialog : Set combo box sensitivity --- diff --git a/src/ui/gui/psppire-dialog-action-examine.c b/src/ui/gui/psppire-dialog-action-examine.c index 4a831b8874..b81a2429d5 100644 --- a/src/ui/gui/psppire-dialog-action-examine.c +++ b/src/ui/gui/psppire-dialog-action-examine.c @@ -127,6 +127,12 @@ run_plots_dialog (PsppireDialogActionExamine *ed) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->histogram_button), ed->histogram); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->npplots_button), ed->npplots); + g_signal_connect (ed->spread_trans_button, "toggled", + G_CALLBACK (set_sensitivity_from_toggle), + ed->spread_power_combo); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->spread_trans_button), FALSE); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ed->spread_trans_button), TRUE); + switch (ed->spreadlevel) { case SPREAD_NONE: