From c85f9be6242c6dd406a33c359caf6bcaf36b8076 Mon Sep 17 00:00:00 2001 From: egouge Date: Thu, 5 Mar 2015 14:38:04 -0800 Subject: [PATCH] fix invalid xml error msg on xml page when leaving page with no changes Signed-off-by: egouge --- .../org/locationtech/udig/style/sld/editor/StyleXMLPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.locationtech.udig.style.sld/src/org/locationtech/udig/style/sld/editor/StyleXMLPage.java b/plugins/org.locationtech.udig.style.sld/src/org/locationtech/udig/style/sld/editor/StyleXMLPage.java index 634cfe52ea..87ef91fa32 100644 --- a/plugins/org.locationtech.udig.style.sld/src/org/locationtech/udig/style/sld/editor/StyleXMLPage.java +++ b/plugins/org.locationtech.udig.style.sld/src/org/locationtech/udig/style/sld/editor/StyleXMLPage.java @@ -152,7 +152,7 @@ public boolean isValid() { } public boolean okToLeave() { - boolean readyToLeave = false; + boolean readyToLeave = true; if (dirty) { //!dirty was a condition -- not required for the moment readyToLeave = updateSLD(); }