diff --git a/qController.Standard/ViewModels/QCueViewModel.cs b/qController.Standard/ViewModels/QCueViewModel.cs index f4dde71..9bb41ff 100644 --- a/qController.Standard/ViewModels/QCueViewModel.cs +++ b/qController.Standard/ViewModels/QCueViewModel.cs @@ -6,6 +6,7 @@ using QControlKit; using QControlKit.Constants; using QControlKit.Events; using System.Collections.Generic; +using qController.Helpers; namespace qController.ViewModels { @@ -52,6 +53,10 @@ namespace qController.ViewModels OnPropertyChanged("cues"); } } + else if (property.Equals(QOSCKey.IsBroken)) + { + OnPropertyChanged("status"); + } } } @@ -119,5 +124,24 @@ namespace qController.ViewModels OnPropertyChanged(); } } + + public string status + { + get + { + if (cue.IsRunning) + { + return IconConstants.Play; + } + else if (cue.IsBroken) + { + return IconConstants.Cancel; + } + else + { + return " "; + } + } + } } }