From 603505b13bf627398895484ec567352b91fbb4ec Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Thu, 20 Apr 2017 11:20:31 +0300 Subject: [PATCH] Fixed priority comparison direction change caused by commit 4495707b refs #7147 Change-Id: I6bc9c7b165f80a76b58bdc4f7f4d754e705e962e --- .../org/simantics/selectionview/ComparableTabContributor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/ComparableTabContributor.java b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/ComparableTabContributor.java index 2077a3a87..83230044d 100644 --- a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/ComparableTabContributor.java +++ b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/ComparableTabContributor.java @@ -79,7 +79,7 @@ public class ComparableTabContributor implements PropertyTabContributor, Compara @Override public int compareTo(ComparableTabContributor o) { - int comp = Double.compare(priority, o.priority); + int comp = Double.compare(o.priority, priority); if(comp != 0) return comp; return id.compareTo(o.id); } -- 2.47.1