diff --git a/CHANGELIST.md b/CHANGELIST.md index 0dd05ff6..1e136a40 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -2,6 +2,7 @@ - Add CD Projekt ID field - Fix speed setting in Aaru +- Add helper for changing dumping program from UI ### 2.6.3 (2023-08-15) diff --git a/MPF/ViewModels/MainViewModel.cs b/MPF/ViewModels/MainViewModel.cs index dc8be2a5..1b1f43fc 100644 --- a/MPF/ViewModels/MainViewModel.cs +++ b/MPF/ViewModels/MainViewModel.cs @@ -217,6 +217,16 @@ namespace MPF.UI.ViewModels #region UI Commands + /// + /// Change the currently selected dumping program + /// + public void ChangeDumpingProgram() + { + App.Logger.VerboseLogLn($"Changed dumping program to: {(App.Instance.DumpingProgramComboBox.SelectedItem as Element).Name}"); + GetOutputNames(false); + EnsureDiscInformation(); + } + /// /// Change the currently selected media type /// @@ -1452,7 +1462,7 @@ namespace MPF.UI.ViewModels private void DumpingProgramComboBoxSelectionChanged(object sender, SelectionChangedEventArgs e) { if (_canExecuteSelectionChanged) - EnsureDiscInformation(); + ChangeDumpingProgram(); } ///