From df77c6faeefcde5365813983a911872103a64ab5 Mon Sep 17 00:00:00 2001 From: reusedname <155286845+reusedname@users.noreply.github.com> Date: Fri, 11 Apr 2025 18:53:20 +0500 Subject: [PATCH] cosmetic online state fix --- .../main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java b/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java index de0595b1..d847407f 100644 --- a/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java +++ b/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java @@ -3,6 +3,7 @@ package ctbrec.ui.tabs.recorded; import ctbrec.Config; import ctbrec.Model; import ctbrec.Recording; +import ctbrec.Model.State; import ctbrec.recorder.Recorder; import ctbrec.sites.Site; import ctbrec.ui.JavaFxModel; @@ -327,7 +328,7 @@ public class RecordedModelsTab extends AbstractRecordedModelsTab implements TabS if (Objects.equals(onlineModel, fxm)) { fxm.setOnlineProperty(true); try { - fxm.setOnlineStateProperty(onlineModel.getOnlineState(true)); + fxm.setOnlineStateProperty(Model.State.ONLINE); } catch (Exception e) {} break; }