From b0e47ac2db404cb49e69f85d5f617d7295285520 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Thu, 23 Aug 2007 16:10:58 +0000 Subject: [PATCH] initialize page number and preview --- src/extension/internal/pdfinput/pdf-input.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extension/internal/pdfinput/pdf-input.cpp b/src/extension/internal/pdfinput/pdf-input.cpp index ebe8c3ae2..450c3a63e 100644 --- a/src/extension/internal/pdfinput/pdf-input.cpp +++ b/src/extension/internal/pdfinput/pdf-input.cpp @@ -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() { -- 2.30.2