adding previous action for pdfs

This commit is contained in:
Chris Cochrun 2022-09-24 14:57:22 -05:00
parent e200a67387
commit 6866b86a20

View file

@ -309,6 +309,9 @@ bool Slide::previous(QVariantMap prevItem)
}
if (m_type == "presentation") {
qDebug() << "prev slide index: " << m_pdfIndex;
setPdfIndex(m_pdfIndex - 1);
qDebug() << "new slide index: " << m_pdfIndex;
m_slideIndex--;
}