Reader: run writeconfig_pagenumber when opening Quit window

This commit is contained in:
Nicolas Mailloux 2022-04-06 01:01:25 -04:00
parent 582ace062b
commit 55bddcdbf6

View file

@ -2217,6 +2217,7 @@ void reader::openBookFileNative(QString book, bool relativePath) {
void reader::on_quitBtn_clicked() void reader::on_quitBtn_clicked()
{ {
writeconfig_pagenumber(true);
quitWindow = new quit(); quitWindow = new quit();
quitWindow->setAttribute(Qt::WA_DeleteOnClose); quitWindow->setAttribute(Qt::WA_DeleteOnClose);
quitWindow->showFullScreen(); quitWindow->showFullScreen();