Fix file filter.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-29 15:59:50 +02:00
parent 20e4ab1980
commit 925e74af9c

View File

@ -337,7 +337,7 @@ void DialogEditLabel::ImportTemplate()
} }
} }
QString filter(tr("Label template") + QLatin1String("(*.xml)")); QString filter(tr("Label template") + QLatin1String(" (*.xml)"));
//Use standard path to label templates //Use standard path to label templates
const QString path = VCommonSettings::PrepareLabelTemplates(qApp->Settings()->GetPathLabelTemplate()); const QString path = VCommonSettings::PrepareLabelTemplates(qApp->Settings()->GetPathLabelTemplate());
const QString fileName = QFileDialog::getOpenFileName(this, tr("Import template"), path, filter, nullptr, const QString fileName = QFileDialog::getOpenFileName(this, tr("Import template"), path, filter, nullptr,