Various fixes [stage]

This commit is contained in:
crschnick
2025-11-07 10:29:11 +00:00
parent cd9c66b236
commit 565495c07e
5 changed files with 3 additions and 13 deletions
@@ -76,11 +76,6 @@ public class AppLayoutComp extends Comp<AppLayoutComp.Structure> {
public record Structure(BorderPane pane, StackPane stack, Region sidebar, List<Node> children)
implements CompStructure<BorderPane> {
public void prepareAddition() {
stack.getChildren().clear();
sidebar.setDisable(true);
}
public void show() {
stack.getChildren().add(children.getFirst());
for (int i = 1; i < children.size(); i++) {
@@ -74,7 +74,7 @@ public class StoreCategoryConfigComp extends SimpleComp {
super.updateItem(color, empty);
if (color == null) {
setText(AppI18n.get("none"));
setGraphic(DataStoreColor.createDisplayGraphic(color));
setGraphic(DataStoreColor.createDisplayGraphic(null));
return;
}
@@ -36,7 +36,6 @@ public class OptionsBuilder {
private final List<Check> allChecks = new ArrayList<>();
private final List<OptionsComp.Entry> entries = new ArrayList<>();
private final List<Property<?>> props = new ArrayList<>();
private final List<Augment<CompStructure<VBox>>> augments = new ArrayList<>();
private ObservableValue<String> name;
private ObservableValue<String> description;
@@ -415,9 +414,6 @@ public class OptionsBuilder {
public OptionsComp buildComp() {
finishCurrent();
var comp = new OptionsComp(entries, focusFirstIncomplete ? allChecks : List.of());
for (Augment<CompStructure<VBox>> augment : augments) {
comp.apply(augment);
}
return comp;
}
@@ -37,8 +37,7 @@ public class BeaconConfig {
if (customPortVar != null) {
try {
customPort = Integer.parseInt(customPortVar);
} catch (NumberFormatException e) {
}
} catch (NumberFormatException ignored) {}
}
var effectivePortBase = customPort != null ? customPort : 21721;
+1 -1
View File
@@ -1 +1 @@
19.0-13
19.0-14