Commit 53c758a0 authored by Laurent Montel's avatar Laurent Montel 😁

Display good page in "goto page" dialogbox

svn path=/trunk/kdegraphics/kpdf/; revision=266331
parent 81c3bb40
......@@ -162,7 +162,7 @@ void Part::slotGoToPage()
if ( m_doc )
{
bool ok = false;
int num = KInputDialog::getInteger(i18n("Go to Page"), i18n("Page:"), 1,
int num = KInputDialog::getInteger(i18n("Go to Page"), i18n("Page:"), m_currentPage,
1, m_doc->getNumPages(), 1, 10, &ok/*, _part->widget()*/);
if (ok)
goToPage( num );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment