cross thread issue. add temp time logging in ImportAccountAsync

This commit is contained in:
Robert McRackan 2021-09-03 11:36:55 -04:00
parent dccb2d73d6
commit 57fa1bd763
7 changed files with 71 additions and 27 deletions

View file

@ -138,7 +138,7 @@ namespace LibationWinForms
isProcessingGridSelect = prev_isProcessingGridSelect;
// UI init complete. now we can apply filter
doFilter(lastGoodFilter);
this.UIThread(() => doFilter(lastGoodFilter));
setBackupCounts(null, null);
}

View file

@ -80,7 +80,10 @@ namespace LibationWinForms
{
var filePath = FileManager.AudibleFileStorage.Audio.GetPath(libraryBook.Book.AudibleProductId);
if (!Go.To.File(filePath))
MessageBox.Show($"File not found:\r\n{filePath}");
{
var suffix = string.IsNullOrWhiteSpace(filePath) ? "" : $":\r\n{filePath}";
MessageBox.Show($"File not found" + suffix);
}
return;
}