Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Knossos.NET/Classes/Knossos.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
}
}
}

Expand Down