mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-28 19:31:32 +02:00
parent
b9c91734b4
commit
b7b8523691
|
@ -1091,7 +1091,9 @@ void MainWindow::LoadStandard()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void MainWindow::CreateMeasurements()
|
void MainWindow::CreateMeasurements()
|
||||||
{
|
{
|
||||||
QProcess::startDetached(qApp->TapeFilePath());
|
const QString tape = qApp->TapeFilePath();
|
||||||
|
const QString workingDirectory = QFileInfo(tape).absoluteDir().absolutePath();
|
||||||
|
QProcess::startDetached(tape, QStringList(), workingDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue