Fixed issue #347.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-09-07 18:02:17 +03:00
parent b9c91734b4
commit b7b8523691

View File

@ -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);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------