mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Make "delete" icon work properly in the "Reading" list
Only the "Favorites" special list was handled.
This commit is contained in:
@ -2591,8 +2591,7 @@ void LibraryWindow::deleteComicsFromList()
|
||||
qulonglong id = mi.data(ReadingListModel::IDRole).toULongLong();
|
||||
switch (typeList) {
|
||||
case ReadingListModel::SpecialList:
|
||||
//by now only 'favorites'
|
||||
comicsModel->deleteComicsFromFavorites(indexList);
|
||||
comicsModel->deleteComicsFromSpecialList(indexList, id);
|
||||
break;
|
||||
case ReadingListModel::Label:
|
||||
comicsModel->deleteComicsFromLabel(indexList, id);
|
||||
|
Reference in New Issue
Block a user