~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/PdfViewGotoDialog.qml

  • Committer: Tarmac
  • Author(s): Stefano Verzegnassi
  • Date: 2015-02-04 15:37:54 UTC
  • mfrom: (63.2.15 20-enable-zoom)
  • Revision ID: tarmac-20150204153754-1jrf9jzk34t9g3ho
Enable zoom in PDF view & multithreading support. Fixes: https://bugs.launchpad.net/bugs/1399978.

Approved by Ubuntu Phone Apps Jenkins Bot, Riccardo Padovani.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    }
55
55
 
56
56
    function goToPage() {
57
 
        pdfView.positionViewAtIndex((goToPageTextField.text - 1), ListView.Beginning)
 
57
        pdfView.positionAtIndex((goToPageTextField.text - 1))
58
58
        PopupUtils.close(goToPageDialog)
59
59
    }
60
60
}