[gimp] app: in GimpDashboard, don't show legend for groups with no meter
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: in GimpDashboard, don't show legend for groups with no meter
- Date: Wed, 8 May 2019 08:23:32 +0000 (UTC)
commit 8434ae42a3a9a18f0d31222bee400c17891cd218
Author: Ell <ell_se yahoo com>
Date: Wed May 8 03:58:09 2019 -0400
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.
app/widgets/gimpdashboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/widgets/gimpdashboard.c b/app/widgets/gimpdashboard.c
index 76c875004e..2d3845a4e2 100644
--- a/app/widgets/gimpdashboard.c
+++ b/app/widgets/gimpdashboard.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]