From: buliabyak Date: Thu, 23 Aug 2007 16:10:58 +0000 (+0000) Subject: initialize page number and preview X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0e47ac2db404cb49e69f85d5f617d7295285520;p=inkscape.git initialize page number and preview --- 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() {