Merge branch 'master' of https://github.com/rmcrackan/Libation
This commit is contained in:
commit
a37eb383cd
7 changed files with 36 additions and 9 deletions
|
|
@ -32,8 +32,8 @@ namespace LibationWinForms
|
|||
|
||||
var libraryStats = e.Result as LibraryCommands.LibraryStats;
|
||||
|
||||
if ((libraryStats.booksNoProgress + libraryStats.pdfsNotDownloaded) > 0)
|
||||
beginBookBackupsToolStripMenuItem_Click();
|
||||
if ((libraryStats.PendingBooks + libraryStats.pdfsNotDownloaded) > 0)
|
||||
Invoke(() => beginBookBackupsToolStripMenuItem_Click(null, System.EventArgs.Empty));
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ namespace LibationWinForms
|
|||
public async Task InitLibraryAsync(List<LibraryBook> libraryBooks)
|
||||
{
|
||||
runBackupCountsAgain = true;
|
||||
updateCountsBw.RunWorkerAsync(libraryBooks);
|
||||
setBackupCounts(null, libraryBooks);
|
||||
await productsDisplay.DisplayAsync(libraryBooks);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -301,10 +301,6 @@ namespace LibationWinForms.GridView
|
|||
.BookEntries()
|
||||
.ExceptBy(dbBooks.Select(lb => lb.Book.AudibleProductId), ge => ge.AudibleProductId);
|
||||
|
||||
removedBooks = bindingList
|
||||
.AllItems()
|
||||
.BookEntries().Take(10).ToList();
|
||||
|
||||
RemoveBooks(removedBooks);
|
||||
|
||||
gridEntryDataGridView.FirstDisplayedScrollingRowIndex = topRow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue