Skip to content

Commit

Permalink
channelmixerrgb: fix a GUI regression, temperature not commited to pa…
Browse files Browse the repository at this point in the history
…rams
  • Loading branch information
aurelienpierre committed Dec 8, 2020
1 parent f301bab commit ba26198
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/iop/channelmixerrgb.c
Expand Up @@ -2024,6 +2024,12 @@ void gui_changed(dt_iop_module_t *self, GtkWidget *w, void *previous)

}

if(w == g->temperature)
{
// Commit temperature to illuminant x, y
illuminant_to_xy(p->illuminant, NULL, NULL, &(p->x), &(p->y), p->temperature, p->illum_fluo, p->illum_led);
}

++darktable.gui->reset;

if(!w || w == g->illuminant || w == g->illum_fluo || w == g->illum_led || g->temperature)
Expand Down

0 comments on commit ba26198

Please sign in to comment.