- refactoring

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

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

Loading…
Cancel
Save