mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Reset last time opened when setting a comic as unread
This commit is contained in:
parent
30fd5491a4
commit
c84fc20419
@ -798,6 +798,7 @@ QVector<YACReaderComicReadStatus> ComicModel::setComicsRead(QList<QModelIndex> l
|
|||||||
c.info.read = false;
|
c.info.read = false;
|
||||||
c.info.currentPage = 1;
|
c.info.currentPage = 1;
|
||||||
c.info.hasBeenOpened = false;
|
c.info.hasBeenOpened = false;
|
||||||
|
c.info.lastTimeOpened.setValue(nullptr);
|
||||||
DBHelper::update(&(c.info), db);
|
DBHelper::update(&(c.info), db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user