mirror of https://github.com/GNOME/gimp.git
app: in GimpDashboard, don't show legend for groups with no meter
in GimpDashboard, don't show field legend colors in groups without a meter.
This commit is contained in:
parent
29d575c033
commit
8434ae42a3
|
@ -2745,7 +2745,7 @@ gimp_dashboard_update_group (GimpDashboard *dashboard,
|
|||
n_rows++;
|
||||
}
|
||||
|
||||
if (variable_info->color.a)
|
||||
if (group_info->has_meter && variable_info->color.a)
|
||||
{
|
||||
color_area = gimp_color_area_new (&variable_info->color,
|
||||
GIMP_COLOR_AREA_FLAT, 0);
|
||||
|
|
Loading…
Reference in New Issue