diff --git a/app/scanner/dialog_export.cpp b/app/scanner/dialog_export.cpp index d9444154..86047717 100644 --- a/app/scanner/dialog_export.cpp +++ b/app/scanner/dialog_export.cpp @@ -63,7 +63,7 @@ Dialog_Export::Dialog_Export(int total, const std::vector &selectedIndexs, m_supportType.push_back(SupportType(".pgm", "PGM - Portable GreyMap", FILE_TYPE_ATTR_NO_MORE_OPTION)); m_supportType.push_back(SupportType(".pbm", "PBM - Portable BitMap", FILE_TYPE_ATTR_NO_MORE_OPTION)); m_supportType.push_back(SupportType(".tif", "TIF - TIFF Revision 6", FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES | FILE_TYPE_ATTR_MORE_OPTIONS)); - m_supportType.push_back(SupportType(".pdf", "PDF - Portable Document Format", FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES)); + m_supportType.push_back(SupportType(".pdf", "PDF - Portable Document Format", FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES | FILE_TYPE_ATTR_MORE_OPTIONS)); m_supportType.push_back(SupportType(".ofd", "OFD - Open Fixed-layout Document", FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES)); m_supportType.push_back(SupportType(".gif", "GIF - Graphics Interchange Format", FILE_TYPE_ATTR_CONTAIN_MULTI_PAGES)); #if 0 diff --git a/app/scanner/dialog_writesettings.cpp b/app/scanner/dialog_writesettings.cpp index 11d20f87..49df97c5 100644 --- a/app/scanner/dialog_writesettings.cpp +++ b/app/scanner/dialog_writesettings.cpp @@ -8,7 +8,7 @@ Dialog_WriteSettings::Dialog_WriteSettings(int suffix_type, QWidget *parent) : { ui->setupUi(this); //set visible - bool jpg_enable = (suffix_type == 0); + bool jpg_enable = (suffix_type == 0 || suffix_type == 7); bool tif_enable = (suffix_type == 6); ui->lab_tif_bw->setVisible(tif_enable); ui->cbox_tif_bw->setVisible(tif_enable); diff --git a/app/scanner/dialog_writesettings.ui b/app/scanner/dialog_writesettings.ui index 1294944b..dbbe55bc 100644 --- a/app/scanner/dialog_writesettings.ui +++ b/app/scanner/dialog_writesettings.ui @@ -6,8 +6,8 @@ 0 0 - 493 - 355 + 454 + 178