Fix bug with watcher. It watches wrong path.
--HG-- branch : release
This commit is contained in:
parent
4f18aea56f
commit
eabfd48b50
|
@ -4507,7 +4507,7 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui->actionUnloadMeasurements->setEnabled(true);
|
ui->actionUnloadMeasurements->setEnabled(true);
|
||||||
watcher->addPath(path);
|
watcher->addPath(newPath);
|
||||||
ui->actionEditCurrent->setEnabled(true);
|
ui->actionEditCurrent->setEnabled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user