Commit 8434ae42 authored by Ell's avatar Ell

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.
parent 29d575c0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment