mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Update the UI when a client synchronizes back the libraries
Only the top banners for now. TODO: ComicModel should also be updated.
This commit is contained in:
@ -2818,6 +2818,12 @@ void LibraryWindow::importLibraryPackage()
|
||||
importLibraryDialog->open(libraries);
|
||||
}
|
||||
|
||||
void LibraryWindow::updateViewsOnClientSync()
|
||||
{
|
||||
contentViewsManager->updateCurrentComicView();
|
||||
contentViewsManager->updateContinueReadingView();
|
||||
}
|
||||
|
||||
void LibraryWindow::updateViewsOnComicUpdateWithId(quint64 libraryId, quint64 comicId)
|
||||
{
|
||||
if (libraryId == (quint64)libraries.getId(selectedLibrary->currentText())) {
|
||||
|
Reference in New Issue
Block a user