Separate file name from page number.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-03-10 18:01:33 +02:00
parent de9534b6d5
commit 365248f7e2

View File

@ -51,7 +51,7 @@ DialogSaveLayout::DialogSaveLayout(const QMap<QString, QString> &formates, int c
QRegExpValidator *validator = new QRegExpValidator(QRegExp("^[\\w\\-. ]+$"), this); QRegExpValidator *validator = new QRegExpValidator(QRegExp("^[\\w\\-. ]+$"), this);
ui->lineEditFileName->setValidator(validator); ui->lineEditFileName->setValidator(validator);
ui->lineEditFileName->setText(fileName); ui->lineEditFileName->setText(fileName+"_");
QMap<QString, QString>::const_iterator i = formates.constBegin(); QMap<QString, QString>::const_iterator i = formates.constBegin();
while (i != formates.constEnd()) while (i != formates.constEnd())