diff --git a/src/officerbreaker/Controller.java b/src/officerbreaker/Controller.java index 5a1f28e..3b40f7a 100644 --- a/src/officerbreaker/Controller.java +++ b/src/officerbreaker/Controller.java @@ -115,6 +115,7 @@ public class Controller { } try { + // show progress progressBarRemove.setVisible(true); progressBarRemove.setImage(progressOnGoing); @@ -138,6 +139,10 @@ public class Controller { progressBarRemove.setImage(progressFinished); } + else // if there is no security element in the xml file, there is no read-only protection on it + { + manipulator.removeXMLFile(); // cleans the xml extracted from origin file + } } catch (Exception e) { e.printStackTrace();