Commit dc4923b8 authored by Riegel's avatar Riegel
Browse files

Fix: Disable zipManagerBtn during loading

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 3 additions and 0 deletions
+3 -0
......@@ -79,6 +79,7 @@ public class CityDoctorController {
try {
Platform.runLater(() -> {
mainWindow.getOpenBtn().setDisable(true);
mainWindow.getZipManagerBtn().setDisable(true);
mainWindow.getWriteReportButton().setDisable(true);
mainWindow.getMeshGroup().getChildren().clear();
......@@ -90,6 +91,7 @@ public class CityDoctorController {
loadCityGmlZipFile(path, numberOfRoundingPlaces, l, useValidation, lowMemory);
return;
}
currentZipEntryManager = null;
currentChecker = null;
currentConfig = new ParserConfiguration(numberOfRoundingPlaces, useValidation, lowMemory);
GMLValidationHandler handler = null;
......@@ -181,6 +183,7 @@ public class CityDoctorController {
try {
Platform.runLater(() -> {
mainWindow.getOpenBtn().setDisable(true);
mainWindow.getZipManagerBtn().setDisable(true);
mainWindow.getWriteReportButton().setDisable(true);
mainWindow.getMeshGroup().getChildren().clear();
clearTrees();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment