From 51aa0dd851d5ba7b318b625c178847e2d602c6c2 Mon Sep 17 00:00:00 2001 From: huanghongxun Date: Thu, 15 Aug 2019 12:54:39 +0800 Subject: [PATCH] Fix non-idea-compilable errors --- .../java/org/jackhuang/hmcl/util/javafx/ExtendedProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/javafx/ExtendedProperties.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/javafx/ExtendedProperties.java index 4998d6eb7..c7b9d59af 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/javafx/ExtendedProperties.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/javafx/ExtendedProperties.java @@ -129,7 +129,7 @@ public final class ExtendedProperties { public static ObjectProperty reservedSelectedPropertyFor(CheckBox checkbox) { return (ObjectProperty) checkbox.getProperties().computeIfAbsent( PROP_PREFIX + ".checkbox.reservedSelected", - any -> new MappedProperty<>(checkbox, "ext.reservedSelected", + any -> new MappedProperty(checkbox, "ext.reservedSelected", checkbox.selectedProperty(), it -> !it, it -> !it)); } // ====