Don't use set specific index number. If user don't have pdftops application it

will make combobox empty.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-03-15 19:12:30 +02:00
parent 2b711c5f8f
commit ef0a2e206b

View File

@ -67,7 +67,6 @@ DialogSaveLayout::DialogSaveLayout(const QMap<QString, QString> &formates, int c
connect(ui->pushButtonBrowse, &QPushButton::clicked, this, &DialogSaveLayout::Browse);
connect(ui->lineEditPath, &QLineEdit::textChanged, this, &DialogSaveLayout::PathChanged);
ui->comboBoxFormat->setCurrentIndex(4);//svg
ui->lineEditPath->setText(qApp->getSettings()->GetPathLayout());
}