Add setting to disable the continue reading banner in the grid view

This commit is contained in:
Luis Ángel San Martín
2019-08-11 11:47:14 +02:00
parent 901d0ab03a
commit 4f4c562a33
5 changed files with 29 additions and 6 deletions

View File

@ -446,7 +446,8 @@ void GridComicsView::setCurrentComicIfNeeded()
bool showCurrentComic = found &&
filterEnabled == false &&
(mode == ComicModel::Mode::Folder || mode == ComicModel::Mode::ReadingList);
(mode == ComicModel::Mode::Folder || mode == ComicModel::Mode::ReadingList) &&
settings->value(DISPLAY_CONTINUE_READING_IN_GRID_VIEW, true).toBool();
if (showCurrentComic) {
ctxt->setContextProperty("currentComic", &currentComic);