aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Weninger <e01526989@student.tuwien.ac.at>2018-06-14 12:00:09 +0200
committerAndreas Weninger <e01526989@student.tuwien.ac.at>2018-06-14 12:00:09 +0200
commit42aa5bca8984c4a6438fef69bdcea80955f993e1 (patch)
treedafa38d8e3b7b151159bd5392179ce1fb6a29939 /src
parenta461b9e807686fb34cdc98a2bbed6ab3923df823 (diff)
downloadsepm-groupproject-42aa5bca8984c4a6438fef69bdcea80955f993e1.tar.gz
sepm-groupproject-42aa5bca8984c4a6438fef69bdcea80955f993e1.tar.xz
sepm-groupproject-42aa5bca8984c4a6438fef69bdcea80955f993e1.zip
Hotfix: Nothing was clickable before closing a subwindow.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/CreateOperationController.java1
-rw-r--r--src/main/resources/fxml/CreateOperationController.fxml9
2 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/CreateOperationController.java b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/CreateOperationController.java
index 3977629..edc56e7 100644
--- a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/CreateOperationController.java
+++ b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/CreateOperationController.java
@@ -109,6 +109,7 @@ public class CreateOperationController {
}
});
+ setVisible(true);
createCarController.setVisible(false);
registrationWindowController.setVisible(false);
}
diff --git a/src/main/resources/fxml/CreateOperationController.fxml b/src/main/resources/fxml/CreateOperationController.fxml
index 8f1e3c3..05b06bc 100644
--- a/src/main/resources/fxml/CreateOperationController.fxml
+++ b/src/main/resources/fxml/CreateOperationController.fxml
@@ -84,14 +84,15 @@
<AnchorPane fx:id="apInvisible" AnchorPane.topAnchor="0" AnchorPane.leftAnchor="0"
AnchorPane.rightAnchor="0" AnchorPane.bottomAnchor="0"
style="-fx-background-color: rgba(0,0,0,0.7);" visible="false"/>
- <fx:include fx:id="operationDetails" source="/fxml/OperationDetails.fxml"
- AnchorPane.leftAnchor="54.0" AnchorPane.topAnchor="50.0"/>
- <fx:include AnchorPane.leftAnchor="192.0" AnchorPane.topAnchor="57.0" fx:id="manageEmployees"
- source="/fxml/manageEmployees.fxml"/>
+
<GridPane fx:id="grdWindowContainer" AnchorPane.topAnchor="0" AnchorPane.leftAnchor="0"
AnchorPane.rightAnchor="0" AnchorPane.bottomAnchor="0" alignment="CENTER">
<fx:include source="/fxml/RegistrationWindow.fxml" fx:id="registrationWindow"/>
</GridPane>
+ <fx:include fx:id="operationDetails" source="/fxml/OperationDetails.fxml"
+ AnchorPane.leftAnchor="54.0" AnchorPane.topAnchor="50.0"/>
+ <fx:include AnchorPane.leftAnchor="192.0" AnchorPane.topAnchor="57.0" fx:id="manageEmployees"
+ source="/fxml/manageEmployees.fxml"/>
<fx:include AnchorPane.leftAnchor="300.0" AnchorPane.topAnchor="125.0"
source="/fxml/createCar.fxml" fx:id="createCar"/>
<fx:include AnchorPane.leftAnchor="100.0" source="/fxml/ArchiveOperation.fxml"