From eabfd48b5037cc3fed77604537409a6d0ba838ae Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 31 Aug 2018 15:22:59 +0300 Subject: [PATCH] Fix bug with watcher. It watches wrong path. --HG-- branch : release --- src/app/valentina/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 0bd924f32..74a953758 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -4507,7 +4507,7 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile) else { ui->actionUnloadMeasurements->setEnabled(true); - watcher->addPath(path); + watcher->addPath(newPath); ui->actionEditCurrent->setEnabled(true); } }