parent
00e98b8913
commit
6a63ac7999
|
@ -1032,8 +1032,8 @@ void MainWindow::PrepareSceneList()
|
||||||
void MainWindow::LoadIndividual()
|
void MainWindow::LoadIndividual()
|
||||||
{
|
{
|
||||||
const QString filter = tr("Individual measurements (*.vit);;Standard measurements (*.vst)");
|
const QString filter = tr("Individual measurements (*.vit);;Standard measurements (*.vst)");
|
||||||
//Use standard path to standard measurements
|
//Use standard path to individual measurements
|
||||||
const QString path = qApp->ValentinaSettings()->GetPathStandardMeasurements();
|
const QString path = qApp->ValentinaSettings()->GetPathIndividualMeasurements();
|
||||||
const QString mPath = QFileDialog::getOpenFileName(this, tr("Open file"), path, filter);
|
const QString mPath = QFileDialog::getOpenFileName(this, tr("Open file"), path, filter);
|
||||||
|
|
||||||
if (not mPath.isEmpty())
|
if (not mPath.isEmpty())
|
||||||
|
@ -1058,8 +1058,8 @@ void MainWindow::LoadIndividual()
|
||||||
void MainWindow::LoadStandard()
|
void MainWindow::LoadStandard()
|
||||||
{
|
{
|
||||||
const QString filter = tr("Individual measurements (*.vit);;Standard measurements (*.vst)");
|
const QString filter = tr("Individual measurements (*.vit);;Standard measurements (*.vst)");
|
||||||
//Use standard path to individual measurements
|
//Use standard path to standard measurements
|
||||||
const QString path = qApp->ValentinaSettings()->GetPathIndividualMeasurements();
|
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);
|
||||||
|
|
||||||
if (not mPath.isEmpty())
|
if (not mPath.isEmpty())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user