From de196ef731cf025f6fdb3b1872ae6ecb0e786576 Mon Sep 17 00:00:00 2001 From: UnfamiliarLegacy <74633542+UnfamiliarLegacy@users.noreply.github.com> Date: Mon, 24 Jun 2024 01:33:58 +0200 Subject: [PATCH] Update scheduler UI state when changing direction --- .../java/gearth/ui/subforms/scheduler/SchedulerController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/G-Earth/src/main/java/gearth/ui/subforms/scheduler/SchedulerController.java b/G-Earth/src/main/java/gearth/ui/subforms/scheduler/SchedulerController.java index 89b9514..ae56a39 100644 --- a/G-Earth/src/main/java/gearth/ui/subforms/scheduler/SchedulerController.java +++ b/G-Earth/src/main/java/gearth/ui/subforms/scheduler/SchedulerController.java @@ -62,6 +62,8 @@ public class SchedulerController extends SubForm { txt_packet.textProperty().addListener(event -> Platform.runLater(this::updateUI)); txt_delay.textProperty().addListener(event -> Platform.runLater(this::updateUI)); + rb_incoming.setOnMouseClicked(event -> Platform.runLater(this::updateUI)); + rb_outgoing.setOnMouseClicked(event -> Platform.runLater(this::updateUI)); //register hotkeys //disable some output things