Skip to content

Commit

Permalink
Fixed anomaly categories registering as anomalies
Browse files Browse the repository at this point in the history
  • Loading branch information
rexc159 committed Mar 3, 2018
1 parent 9590c92 commit 5965f4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/StellarisDK/FileClasses/Anomaly/AnomalyCategory.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
public class AnomalyCategory extends GenericData {
public AnomalyCategory() {
super();
this.type = "anomaly";
this.type = "anomaly_category";
ui = new AnomalyCategoryUI(this);
}

public AnomalyCategory(String input) {
super(input);
this.type = "anomaly";
this.type = "anomaly_category";
ui = new AnomalyCategoryUI(this);
}

Expand Down
6 changes: 3 additions & 3 deletions src/StellarisDK/GUI/FXML/eventUI.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TreeView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.*?>
<AnchorPane fx:id="main" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<TreeView fx:id="treeView" prefHeight="200.0" prefWidth="200.0" />
<Button id="btn_save" fx:id="btn_save" layoutX="149.0" layoutY="209.0" mnemonicParsing="false" text="Save" />
<TreeView fx:id="treeView" AnchorPane.bottomAnchor="50.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
<Button id="btn_save" fx:id="btn_save" layoutX="149.0" layoutY="209.0" mnemonicParsing="false" text="Save" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" />
</children>
</AnchorPane>

0 comments on commit 5965f4b

Please sign in to comment.