We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1fe67 commit fdb0cf5Copy full SHA for fdb0cf5
Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs
@@ -360,18 +360,20 @@ private void EditIndexSearchExcludePaths()
360
private void AddIndexSearchExcludePaths()
361
{
362
var container = Settings.IndexSearchExcludedSubdirectoryPaths;
363
+
364
+ if (container is null) return;
365
366
var folderBrowserDialog = new FolderBrowserDialog();
367
368
if (folderBrowserDialog.ShowDialog() != DialogResult.OK)
369
return;
-
370
371
var newAccessLink = new AccessLink
372
373
Name = folderBrowserDialog.SelectedPath.GetPathName(),
374
Path = folderBrowserDialog.SelectedPath
375
};
376
377
container.Add(newAccessLink);
378
Save();
379
}
0 commit comments