summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index febfd5b00..8ecb46ae2 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1569,6 +1569,15 @@ namespace HandBrakeWPF.ViewModels
this.AlertWindowHeader = string.Empty;
}
+ /// <summary>
+ /// Pass on the "When Done" Action to the queue view model.
+ /// </summary>
+ /// <param name="action"></param>
+ public void WhenDone(string action)
+ {
+ this.QueueViewModel?.WhenDone(action);
+ }
+
#endregion
#region Main Window Public Methods