diff --git a/Knossos.NET/Classes/Knossos.cs b/Knossos.NET/Classes/Knossos.cs index 62aa3169..038071a8 100644 --- a/Knossos.NET/Classes/Knossos.cs +++ b/Knossos.NET/Classes/Knossos.cs @@ -1600,6 +1600,16 @@ private static async Task FolderSearchRecursive(string path, bool isQuickLaunch, { /* Likely file/folder permission issues */ Log.Add(Log.LogSeverity.Error, "Knossos.ModSearchRecursive", ex); + + if (folderLevel == 0 ) + { + if (MainWindow.instance != null) + { + Dispatcher.UIThread.Invoke(() => { + MessageBox.Show(MainWindow.instance!, "KnossosNET either cannot find or does not have permission to read a previously selected library folder.\nEither select a new library folder in KnossosNET's settings, or check if the folder is now protected.", "Knossos.NET Library Folder Error" , MessageBox.MessageBoxButtons.OK); + }); + } + } } }