Reset last time opened when setting a comic as unread

This commit is contained in:
Luis Ángel San Martín 2020-08-25 19:00:21 +02:00
parent 30fd5491a4
commit c84fc20419

View File

@ -798,6 +798,7 @@ QVector<YACReaderComicReadStatus> ComicModel::setComicsRead(QList<QModelIndex> l
c.info.read = false;
c.info.currentPage = 1;
c.info.hasBeenOpened = false;
c.info.lastTimeOpened.setValue(nullptr);
DBHelper::update(&(c.info), db);
}
}