cosmetic online state fix
This commit is contained in:
parent
0aa5dadda7
commit
df77c6faee
|
@ -3,6 +3,7 @@ package ctbrec.ui.tabs.recorded;
|
||||||
import ctbrec.Config;
|
import ctbrec.Config;
|
||||||
import ctbrec.Model;
|
import ctbrec.Model;
|
||||||
import ctbrec.Recording;
|
import ctbrec.Recording;
|
||||||
|
import ctbrec.Model.State;
|
||||||
import ctbrec.recorder.Recorder;
|
import ctbrec.recorder.Recorder;
|
||||||
import ctbrec.sites.Site;
|
import ctbrec.sites.Site;
|
||||||
import ctbrec.ui.JavaFxModel;
|
import ctbrec.ui.JavaFxModel;
|
||||||
|
@ -327,7 +328,7 @@ public class RecordedModelsTab extends AbstractRecordedModelsTab implements TabS
|
||||||
if (Objects.equals(onlineModel, fxm)) {
|
if (Objects.equals(onlineModel, fxm)) {
|
||||||
fxm.setOnlineProperty(true);
|
fxm.setOnlineProperty(true);
|
||||||
try {
|
try {
|
||||||
fxm.setOnlineStateProperty(onlineModel.getOnlineState(true));
|
fxm.setOnlineStateProperty(Model.State.ONLINE);
|
||||||
} catch (Exception e) {}
|
} catch (Exception e) {}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue