summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-01-25 21:08:39 +0000
committersr55 <[email protected]>2019-01-27 20:46:41 +0000
commit7f76264f5be0ba32fccf4f1ca200e346e3a31a11 (patch)
tree18fcd3fde3fa8063e13cfe36661f5a61a6a0704d /win/CS/HandBrakeWPF/ViewModels
parent95c21515907b14f2845c5e060ebc9d6a4023b5df (diff)
WinGui: Move the Queue Recovery option from the source panel to the Queue Menu. It's not something that's frequently used and doesn't really belong on the Source Menu. Makes the source menu less cluttered.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 9d07343a7..3d2130edb 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -2109,6 +2109,11 @@ namespace HandBrakeWPF.ViewModels
}
}
+ public bool CanRecoverQueue()
+ {
+ return this.QueueRecoveryArchivesExist;
+ }
+
public void RecoverQueue()
{
QueueRecoveryHelper.ResetArchives();