From 432ea085eb21018936000b2745bb7d3873fa27a1 Mon Sep 17 00:00:00 2001 From: Frank Gasdorf Date: Thu, 5 Nov 2020 16:06:48 +0100 Subject: [PATCH] [HK] fixes NPE in MapEditor (#430) Change-Id: I8b504317457d2cd1225f83735c616a09ff794211 Signed-off-by: Frank Gasdorf --- .../org/locationtech/udig/project/ui/internal/MapEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.locationtech.udig.project.ui/src/org/locationtech/udig/project/ui/internal/MapEditor.java b/plugins/org.locationtech.udig.project.ui/src/org/locationtech/udig/project/ui/internal/MapEditor.java index 4274b479fd..012926d708 100644 --- a/plugins/org.locationtech.udig.project.ui/src/org/locationtech/udig/project/ui/internal/MapEditor.java +++ b/plugins/org.locationtech.udig.project.ui/src/org/locationtech/udig/project/ui/internal/MapEditor.java @@ -725,7 +725,7 @@ public void createPartControl(final Composite parent) { scaleContributionItem = new ScaleRatioLabel(this); scaleContributionItem.setVisible(true); - statusBar.appendToGroup(StatusLineManager.MIDDLE_GROUP, crsContributionItem); + statusBar.appendToGroup(StatusLineManager.MIDDLE_GROUP, scaleContributionItem); crsContributionItem = new CRSContributionItem(this); crsContributionItem.setVisible(true);