adding previous action for pdfs
This commit is contained in:
parent
e200a67387
commit
6866b86a20
1 changed files with 3 additions and 0 deletions
|
@ -309,6 +309,9 @@ bool Slide::previous(QVariantMap prevItem)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_type == "presentation") {
|
if (m_type == "presentation") {
|
||||||
|
qDebug() << "prev slide index: " << m_pdfIndex;
|
||||||
|
setPdfIndex(m_pdfIndex - 1);
|
||||||
|
qDebug() << "new slide index: " << m_pdfIndex;
|
||||||
m_slideIndex--;
|
m_slideIndex--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue