Code

initialize page number and preview
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 23 Aug 2007 16:10:58 +0000 (16:10 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 23 Aug 2007 16:10:58 +0000 (16:10 +0000)
src/extension/internal/pdfinput/pdf-input.cpp

index ebe8c3ae2f9047a96409ed06576cc44e5cddf3a5..450c3a63ee67cba47a605a9c205984e2aa984671 100644 (file)
@@ -278,6 +278,8 @@ PdfImportDialog::PdfImportDialog(PDFDoc *doc)
     // Init preview
     _thumb_data = NULL;
     _pageNumberSpin_adj->set_value(1.0);
+    _current_page = 1;
+    _setPreviewPage(_current_page);
 }
 
 PdfImportDialog::~PdfImportDialog() {