Browse Source

bug fix

tags/Wurstwasser
Hendrik Schutter 7 months ago
parent
commit
188214dfbe
2 changed files with 8 additions and 1 deletions
  1. 1
    1
      pom.xml
  2. 7
    0
      src/main/java/com/jFxKasse/controller/MainWindowController.java

+ 1
- 1
pom.xml View File

@@ -4,7 +4,7 @@
4 4
 	<modelVersion>4.0.0</modelVersion>
5 5
 	<groupId>com</groupId>
6 6
 	<artifactId>jFxKasse</artifactId>
7
-	<version>0.3.1</version>
7
+	<version>0.3.2</version>
8 8
 	<name>jFxKasse</name>
9 9
 
10 10
 	<dependencies>

+ 7
- 0
src/main/java/com/jFxKasse/controller/MainWindowController.java View File

@@ -598,6 +598,7 @@ public class MainWindowController
598 598
 		tapPosEdit.setDisable(false);
599 599
 		btnDeleteSelectedPosition.setDisable(true);
600 600
 		isPrintBtnDisabled = true;
601
+		tapJobs.setDisable(false);
601 602
 
602 603
 		setJobPrizeLabel(0);
603 604
 
@@ -820,6 +821,7 @@ public class MainWindowController
820 821
 		btnReprintJob.setDisable(true);
821 822
 		btnCancelJob.setDisable(true);
822 823
 		btnDeleteSelectedPosition.setDisable(true);
824
+		tapJobs.setDisable(true);
823 825
 		btnOpenFolder.setFocusTraversable(false);
824 826
 		switchSeparate.setFocusTraversable(false);
825 827
 		ueberbtn.setFocusTraversable(false);
@@ -830,6 +832,7 @@ public class MainWindowController
830 832
 		initPositionen();
831 833
 		initCurrentOrderTreeTableView();
832 834
 		initJobTreeTableView();
835
+
833 836
 	}
834 837
 
835 838
 	public int getSelectedCat()
@@ -1406,6 +1409,10 @@ public class MainWindowController
1406 1409
 			rootJobs.getChildren().add(new TreeItem<tableDataJob>(tmp));
1407 1410
 		}
1408 1411
 
1412
+		if (!dbc.getJobCount().equals("0")) {
1413
+			tapJobs.setDisable(false);
1414
+		}
1415
+
1409 1416
 	}
1410 1417
 
1411 1418
 	public void createNewJob()

Loading…
Cancel
Save