mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
fixed empty libraries status
This commit is contained in:
parent
7b2f812aa3
commit
b38a71136c
@ -1221,6 +1221,8 @@ void LibraryWindow::deleteCurrentLibrary()
|
||||
comicView->setModel(NULL);
|
||||
foldersView->setModel(NULL);
|
||||
comicFlow->clear();
|
||||
disableAllActions();
|
||||
showNoLibrariesWidget();
|
||||
}
|
||||
libraries.save();
|
||||
}
|
||||
@ -1241,6 +1243,8 @@ void LibraryWindow::removeLibrary()
|
||||
comicView->setModel(NULL);
|
||||
foldersView->setModel(NULL);
|
||||
comicFlow->clear();
|
||||
disableAllActions();
|
||||
showNoLibrariesWidget();
|
||||
}
|
||||
libraries.save();
|
||||
}
|
||||
@ -1249,11 +1253,6 @@ void LibraryWindow::removeLibrary()
|
||||
deleteCurrentLibrary();
|
||||
}
|
||||
|
||||
if(libraries.isEmpty())
|
||||
{
|
||||
disableAllActions();
|
||||
showNoLibrariesWidget();
|
||||
}
|
||||
}
|
||||
|
||||
void LibraryWindow::renameLibrary()
|
||||
|
Loading…
Reference in New Issue
Block a user