From e3c26b074b8fc176b465427c7cd64beed9067f00 Mon Sep 17 00:00:00 2001 From: James Ball Date: Tue, 14 Jun 2022 07:50:06 +0100 Subject: [PATCH] Enable device selection and audio sample selection when timed recording finishes --- src/main/java/sh/ball/gui/controller/MainController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/sh/ball/gui/controller/MainController.java b/src/main/java/sh/ball/gui/controller/MainController.java index 05c8921..afb51e5 100644 --- a/src/main/java/sh/ball/gui/controller/MainController.java +++ b/src/main/java/sh/ball/gui/controller/MainController.java @@ -265,6 +265,10 @@ public class MainController implements Initializable, FrequencyListener, MidiLis e -> { saveRecording(); recording = false; + Platform.runLater(() -> { + audioSampleComboBox.setDisable(false); + deviceComboBox.setDisable(false); + }); } ); recordingTimeline = new Timeline(kf1, kf2);