@@ -38,7 +38,7 @@ public class TabPohja extends Tab {
|
||||
"-fx-font-family: " + Main.properties.getProperty("buttonFontti") + ";"
|
||||
);
|
||||
this.setClosable(false);
|
||||
this.setOnSelectionChanged(e -> {if (e.getTarget() == this) päivitä();});
|
||||
this.setOnSelectionChanged(e -> {if (this.isSelected()) päivitä();});
|
||||
|
||||
root.setStyle(STYLE);
|
||||
root.setPadding(INSETS);
|
||||
|
||||
Reference in New Issue
Block a user