diff options
author | sr55 <[email protected]> | 2015-04-20 18:46:33 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-04-20 18:46:33 +0000 |
commit | 69a4cf5c8b880bd69be890a043dd3abae31b07bf (patch) | |
tree | 05fdc33bc0e7d92e8a2c7b73f9532a953dbe3009 /win/CS/HandBrake.ApplicationServices | |
parent | e1bd5f45bef2c38582d5e4e5e162e12c9e671dbd (diff) |
WinGui: Restore the "No Titles Found" dialog from previous versions of HandBrake.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7108 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Scan/EventArgs/ScanCompletedEventArgs.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Scan/EventArgs/ScanCompletedEventArgs.cs b/win/CS/HandBrake.ApplicationServices/Services/Scan/EventArgs/ScanCompletedEventArgs.cs index 41c44fb76..c23945dd0 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Scan/EventArgs/ScanCompletedEventArgs.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Scan/EventArgs/ScanCompletedEventArgs.cs @@ -35,7 +35,7 @@ namespace HandBrake.ApplicationServices.Services.Scan.EventArgs /// </param>
public ScanCompletedEventArgs(bool cancelled, Exception exception, string errorInformation, Source scannedSource)
{
- this.Successful = !cancelled && exception == null && string.IsNullOrEmpty(errorInformation);
+ this.Successful = !cancelled && exception == null && string.IsNullOrEmpty(errorInformation) && scannedSource != null && scannedSource.Titles != null && scannedSource.Titles.Count > 0;
this.Cancelled = cancelled;
this.Exception = exception;
this.ErrorInformation = errorInformation;
|