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:
parent
2b711c5f8f
commit
ef0a2e206b
|
@ -67,7 +67,6 @@ DialogSaveLayout::DialogSaveLayout(const QMap<QString, QString> &formates, int c
|
||||||
connect(ui->pushButtonBrowse, &QPushButton::clicked, this, &DialogSaveLayout::Browse);
|
connect(ui->pushButtonBrowse, &QPushButton::clicked, this, &DialogSaveLayout::Browse);
|
||||||
connect(ui->lineEditPath, &QLineEdit::textChanged, this, &DialogSaveLayout::PathChanged);
|
connect(ui->lineEditPath, &QLineEdit::textChanged, this, &DialogSaveLayout::PathChanged);
|
||||||
|
|
||||||
ui->comboBoxFormat->setCurrentIndex(4);//svg
|
|
||||||
ui->lineEditPath->setText(qApp->getSettings()->GetPathLayout());
|
ui->lineEditPath->setText(qApp->getSettings()->GetPathLayout());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user