From 12a131c567a24d4aa86fe86e5072f0bfc9b68d5b Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Fri, 29 May 2020 14:39:05 +0300 Subject: [PATCH] Set initial priority for GroupStyleProfileEntry This ensures correct ordering of profile monitor text stacks gitlab #543 Change-Id: Iaabc59674f6fb51bd1cb0fd77e224b8da6f9454d (cherry picked from commit 24bc1bb36da76bf82768b33c2aa07fe2a0324461) --- .../org/simantics/diagram/adapter/GroupStyleProfileEntry.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/GroupStyleProfileEntry.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/GroupStyleProfileEntry.java index bdc3af02c..f38d1971b 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/GroupStyleProfileEntry.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/GroupStyleProfileEntry.java @@ -44,6 +44,7 @@ public class GroupStyleProfileEntry implements ProfileEntry { else this.priority = 0; GroupStyleProfileEntry.this.style = graph.adapt(style, Style.class); + GroupStyleProfileEntry.this.style.setPriority(this.priority); GroupStyleProfileEntry.this.group = graph.adapt(group, Group.class); } -- 2.47.1