mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimpwidgets: do not set toggles visible when explicitly set not to…
… when changing the model. Because of this, we had redundant toggles appearing in the Color Selection dialog, in the GimpColorSelect tab.
This commit is contained in:
parent
d607a71ba6
commit
d66df2aefe
1 changed files with 2 additions and 1 deletions
|
@ -665,7 +665,8 @@ gimp_color_select_set_model_visible (GimpColorSelector *selector,
|
||||||
{
|
{
|
||||||
GimpColorSelect *select = GIMP_COLOR_SELECT (selector);
|
GimpColorSelect *select = GIMP_COLOR_SELECT (selector);
|
||||||
|
|
||||||
gtk_widget_set_visible (select->toggle_box[model], visible);
|
if (! visible || gimp_color_selector_get_toggles_visible (selector))
|
||||||
|
gtk_widget_set_visible (select->toggle_box[model], visible);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue