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 { ...@@ -79,6 +79,7 @@ public class CityDoctorController {
try { try {
Platform.runLater(() -> { Platform.runLater(() -> {
mainWindow.getOpenBtn().setDisable(true); mainWindow.getOpenBtn().setDisable(true);
mainWindow.getZipManagerBtn().setDisable(true);
mainWindow.getWriteReportButton().setDisable(true); mainWindow.getWriteReportButton().setDisable(true);
mainWindow.getMeshGroup().getChildren().clear(); mainWindow.getMeshGroup().getChildren().clear();
...@@ -90,6 +91,7 @@ public class CityDoctorController { ...@@ -90,6 +91,7 @@ public class CityDoctorController {
loadCityGmlZipFile(path, numberOfRoundingPlaces, l, useValidation, lowMemory); loadCityGmlZipFile(path, numberOfRoundingPlaces, l, useValidation, lowMemory);
return; return;
} }
currentZipEntryManager = null;
currentChecker = null; currentChecker = null;
currentConfig = new ParserConfiguration(numberOfRoundingPlaces, useValidation, lowMemory); currentConfig = new ParserConfiguration(numberOfRoundingPlaces, useValidation, lowMemory);
GMLValidationHandler handler = null; GMLValidationHandler handler = null;
...@@ -181,6 +183,7 @@ public class CityDoctorController { ...@@ -181,6 +183,7 @@ public class CityDoctorController {
try { try {
Platform.runLater(() -> { Platform.runLater(() -> {
mainWindow.getOpenBtn().setDisable(true); mainWindow.getOpenBtn().setDisable(true);
mainWindow.getZipManagerBtn().setDisable(true);
mainWindow.getWriteReportButton().setDisable(true); mainWindow.getWriteReportButton().setDisable(true);
mainWindow.getMeshGroup().getChildren().clear(); mainWindow.getMeshGroup().getChildren().clear();
clearTrees(); 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