libgimpwidgets: oups, fix some stupid miswrite.

Unfortunately not very problematic, unless when setting alpha channel.
This commit is contained in:
Jehan 2018-01-22 01:07:29 +01:00
parent 36dd16c6c6
commit 90037116e4
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ gimp_color_selector_set_channel (GimpColorSelector *selector,
if (channel != selector->channel)
{
GimpColorSelectorClass *selector_class;
GimpColorSelectorModel model = selector->channel;
GimpColorSelectorModel model = selector->model;
selector->channel = channel;
selector_class = GIMP_COLOR_SELECTOR_GET_CLASS (selector);