We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6fd1cd commit 604b2d2Copy full SHA for 604b2d2
DiasForGrandpa.WPF/ViewModels/OrganizerViewModel.cs
@@ -67,7 +67,7 @@ private void Validate()
67
// our code would bug out and accidently delete important files....
68
69
if (!Directory.Exists(App.Settings.DiaFolderInputPath) ||
70
- !DriveInfo.GetDrives().Any(x => x.VolumeLabel == App.Settings.DiaVolumeName) ||
+ !DriveInfo.GetDrives().Where(x => x.IsReady).Any(x => x.VolumeLabel == App.Settings.DiaVolumeName) ||
71
Directory.GetFiles(App.Settings.DiaFolderInputPath).Length == 0)
72
{
73
ErrorDialog.ShowError(
0 commit comments