mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-13 03:13:53 +00:00
Add Cue type/notes to selectedCueGrid
This commit is contained in:
@@ -27,11 +27,18 @@ namespace qController.ViewModels
|
||||
{
|
||||
foreach (var property in args.properties)
|
||||
{
|
||||
Log.Debug($"[cueviewmodel] property <{property}> has been updated.");
|
||||
if (property.Equals(QOSCKey.Name))
|
||||
{
|
||||
OnPropertyChanged("name");
|
||||
}
|
||||
else if (property.Equals(QOSCKey.Number))
|
||||
{
|
||||
OnPropertyChanged("number");
|
||||
}
|
||||
else if (property.Equals(QOSCKey.Notes))
|
||||
{
|
||||
OnPropertyChanged("notes");
|
||||
}
|
||||
else if (property.Equals(QOSCKey.ColorName))
|
||||
{
|
||||
OnPropertyChanged("color");
|
||||
@@ -53,7 +60,7 @@ namespace qController.ViewModels
|
||||
{
|
||||
get
|
||||
{
|
||||
return cue.displayName;
|
||||
return cue.listName;
|
||||
}
|
||||
|
||||
set
|
||||
@@ -62,6 +69,14 @@ namespace qController.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public string type
|
||||
{
|
||||
get
|
||||
{
|
||||
return QIcon.GetIconFromType(cue.type);
|
||||
}
|
||||
}
|
||||
|
||||
public string number
|
||||
{
|
||||
get
|
||||
@@ -75,6 +90,19 @@ namespace qController.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public string notes
|
||||
{
|
||||
get
|
||||
{
|
||||
return cue.notes;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
cue.notes = value;
|
||||
}
|
||||
}
|
||||
|
||||
public Color color
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user