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; }