From 0f7ac0b063d5dd2b79ef8b3cf9afff2008d50767 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 19 Sep 2020 06:21:14 +0200 Subject: [PATCH] Examine Plots Dialog : Set combo box sensitivity --- src/ui/gui/psppire-dialog-action-examine.c | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- 2.30.2