[gimp] app: in GimpDashboard, improve legend logic



commit 088827e5630d3dc5187bdbfceb4ee62eda238357
Author: Ell <ell_se yahoo com>
Date:   Sat May 11 05:09:45 2019 -0400

    app: in GimpDashboard, improve legend logic

 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 477b2ab4d4..110fce905e 100644
--- a/app/widgets/gimpdashboard.c
+++ b/app/widgets/gimpdashboard.c
@@ -2763,7 +2763,7 @@ gimp_dashboard_update_group (GimpDashboard *dashboard,
               n_rows++;
             }
 
-          if (group_info->has_meter && variable_info->color.a)
+          if (group_info->has_meter && field_info->meter_value)
             {
               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]