diff options
author | sr55 <[email protected]> | 2016-03-02 20:46:30 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-03-02 20:46:30 +0000 |
commit | ba2f812eaad757ba5c8b726265fc8b5d47821a8a (patch) | |
tree | a7f02831f5b0ba7830b105c5558cd8fe0ab8d923 /win/CS/HandBrakeWPF/ViewModels | |
parent | 6f51a235c3a44830a1ecd4cf4077f55dfe421ab1 (diff) |
WinGui: Don't check diskspace on UNC paths.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 27bd32505..0886768e7 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1724,8 +1724,8 @@ namespace HandBrakeWPF.ViewModels this.Destination = saveFileDialog.FileName;
// Disk Space Check
- string drive = Path.GetPathRoot(this.Destination);
- if (drive != null)
+ string drive = Path.GetPathRoot(this.Destination);
+ if (drive != null && !drive.StartsWith(@"\\"))
{
DriveInfo c = new DriveInfo(drive);
if (c.AvailableFreeSpace < this.userSettingService.GetUserSetting<long>(UserSettingConstants.PauseOnLowDiskspaceLevel))
|