Skip to content

Commit

Permalink
fix nullness in release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stakira committed Jun 11, 2023
1 parent 8227dee commit ee91432
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenUtau/ViewModels/TrackHeaderViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@ public class TrackHeaderViewModel : ViewModelBase, IActivatableViewModel {

private readonly UTrack track;

// Parameterless constructor for Avalonia preview only.
public TrackHeaderViewModel() {
#if DEBUG
SelectSingerCommand = ReactiveCommand.Create<USinger>(_ => { });
SelectPhonemizerCommand = ReactiveCommand.Create<PhonemizerFactory>(_ => { });
SelectRendererCommand = ReactiveCommand.Create<string>(_ => { });
Activator = new ViewModelActivator();
track = new UTrack(DocManager.Inst.Project);
#endif
}

public TrackHeaderViewModel(UTrack track) {
Expand Down

0 comments on commit ee91432

Please sign in to comment.