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:
Ell 2019-05-08 03:58:09 -04:00
parent 29d575c033
commit 8434ae42a3
1 changed files with 1 additions and 1 deletions

View File

@ -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);