Skip to content

Commit f3f3c1a

Browse files
Make capture sliders un-sensitive instead of hiding them
1 parent 4e600d5 commit f3f3c1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/iop/demosaic.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,10 +1387,10 @@ void gui_changed(dt_iop_module_t *self, GtkWidget *w, void *previous)
13871387
gtk_widget_set_visible(g->demosaic_method_bayerfour, bayer4);
13881388
gtk_widget_set_visible(g->demosaic_method_xtrans, xtrans);
13891389

1390-
gtk_widget_set_visible(g->cs_radius, do_capture);
1391-
gtk_widget_set_visible(g->cs_thrs, do_capture);
1392-
gtk_widget_set_visible(g->cs_boost, do_capture);
1393-
gtk_widget_set_visible(g->cs_strength, capture_support);
1390+
gtk_widget_set_sensitive(g->cs_radius, do_capture);
1391+
gtk_widget_set_sensitive(g->cs_thrs, do_capture);
1392+
gtk_widget_set_sensitive(g->cs_boost, do_capture);
1393+
gtk_widget_set_sensitive(g->cs_strength, capture_support);
13941394

13951395
// we might have a wrong method dur to xtrans/bayer - mode mismatch
13961396
if(bayer)

0 commit comments

Comments
 (0)