- refactoring

master
Simon G 5 years ago
parent 3a9ef52c85
commit 9430da8d4a
  1. 11
      Mystify/ViewModels/MainWindowViewModel.cs

@ -54,11 +54,10 @@ namespace Mystify.ViewModels
RaisePropertyChanged(() => Controllables);
});
public ICommand AllocateControllableCommand =>
ReactiveCommand.Create(() =>
{
if (SelectedControllable != null)
SelectedChannel?.AllocateControllable(SelectedControllable);
});
public ICommand AllocateControllableCommand => ReactiveCommand.Create(() =>
{
if (SelectedControllable != null)
SelectedChannel?.AllocateControllable(SelectedControllable);
});
}
}

Loading…
Cancel
Save