From e08c528b712b1ab85265bf30de2fad674ec02bab Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Fri, 7 Jun 2024 08:55:49 -0400 Subject: [PATCH] Cleanup --- .../perfin/view/component/module/PieChartModule.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/andrewlalis/perfin/view/component/module/PieChartModule.java b/src/main/java/com/andrewlalis/perfin/view/component/module/PieChartModule.java index b9b59ce..74f7dca 100644 --- a/src/main/java/com/andrewlalis/perfin/view/component/module/PieChartModule.java +++ b/src/main/java/com/andrewlalis/perfin/view/component/module/PieChartModule.java @@ -4,7 +4,6 @@ import com.andrewlalis.perfin.data.AccountRepository; import com.andrewlalis.perfin.data.TimestampRange; import com.andrewlalis.perfin.data.util.ColorUtil; import com.andrewlalis.perfin.model.Profile; -import com.andrewlalis.perfin.view.BindingUtil; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.collections.ObservableList; @@ -70,9 +69,7 @@ public abstract class PieChartModule extends DashboardModule { chartData.clear(); } }); - timeRangeChoiceBox.valueProperty().addListener((observable, oldValue, newValue) -> { - renderChart(); - }); + timeRangeChoiceBox.valueProperty().addListener((observable, oldValue, newValue) -> renderChart()); } @Override