Commit 6037d7a1 authored by Riegel's avatar Riegel
Browse files

Fix: Fix controller load order

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 2 additions and 0 deletions
+2 -0
......@@ -79,6 +79,8 @@ public class ZipEntryPicker {
public ZipEntryPicker(Window parent, CityDoctorController controller) throws IOException {
FXMLLoader loader = new FXMLLoader(ZipEntryPicker.class.getResource("ZipEntryPicker.fxml"));
loader.setController(this);
this.controller = controller;
archive = controller.getZipArchive();
VBox box = loader.load();
this.controller = controller;
stage = new Stage();
......
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