Fixed filter in load standart measurements dialog

--HG--
branch : develop
This commit is contained in:
val177 2015-09-05 14:50:52 +03:00
parent 6a63ac7999
commit ffc51e5d6e

View File

@ -1057,7 +1057,7 @@ void MainWindow::LoadIndividual()
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void MainWindow::LoadStandard() void MainWindow::LoadStandard()
{ {
const QString filter = tr("Individual measurements (*.vit);;Standard measurements (*.vst)"); const QString filter = tr("Standard measurements (*.vst);;Individual measurements (*.vit)");
//Use standard path to standard measurements //Use standard path to standard measurements
const QString path = qApp->ValentinaSettings()->GetPathStandardMeasurements(); const QString path = qApp->ValentinaSettings()->GetPathStandardMeasurements();
const QString mPath = QFileDialog::getOpenFileName(this, tr("Open file"), path, filter); const QString mPath = QFileDialog::getOpenFileName(this, tr("Open file"), path, filter);