diff --git a/EA-ModelKit/ViewModels/Exporter/GenericExporterViewModel.cs b/EA-ModelKit/ViewModels/Exporter/GenericExporterViewModel.cs index 5c0383b..38c0bf2 100644 --- a/EA-ModelKit/ViewModels/Exporter/GenericExporterViewModel.cs +++ b/EA-ModelKit/ViewModels/Exporter/GenericExporterViewModel.cs @@ -162,13 +162,13 @@ private void InitializeObservablesAndCommands() .Subscribe(_ => this.ComputeCanProceed())); this.Disposables.Add(this.WhenPropertyChanged(x => x.SelectedFilePath).Subscribe(_ => this.ComputeCanProceed())); - this.ExportCommand = ReactiveCommand.CreateFromTask(this.OnExport, this.WhenAnyValue(x => x.CanProceed)); + this.ExportCommand = ReactiveCommand.CreateFromTask(this.OnExportAsync, this.WhenAnyValue(x => x.CanProceed)); } /// /// Proceed with the export functionalitis following the user-defined setup /// - private async Task OnExport() + private async Task OnExportAsync() { this.IsBusy = true;