diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 6a6a32758..2742dca87 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -1911,8 +1911,8 @@ void MainWindow::SyncMeasurements() #if defined(Q_OS_MAC) void MainWindow::OpenAt(QAction *where) { - const QString path = qApp->GetPPath().left(qApp->GetPPath().indexOf(where->text())) + where->text(); - if (path == qApp->GetPPath()) + const QString path = qApp->GetPatternPath().left(qApp->GetPatternPath().indexOf(where->text())) + where->text(); + if (path == qApp->GetPatternPath()) { return; } @@ -5533,7 +5533,7 @@ void MainWindow::UpdateWindowTitle() static QIcon fileIcon = QIcon(QCoreApplication::applicationDirPath() + QLatin1String("/../Resources/Valentina.icns")); QIcon icon; - if (not qApp->GetPPath().isEmpty()) + if (not qApp->GetPatternPath().isEmpty()) { if (not isWindowModified()) { diff --git a/src/libs/vwidgets/vcontrolpointspline.cpp b/src/libs/vwidgets/vcontrolpointspline.cpp index e9c7ebedf..a1d18f63a 100644 --- a/src/libs/vwidgets/vcontrolpointspline.cpp +++ b/src/libs/vwidgets/vcontrolpointspline.cpp @@ -265,7 +265,7 @@ void VControlPointSpline::Init() controlLine = new VScaledLine(this); controlLine->SetBoldLine(false); - controlLine->setFlag(QGraphicsItem::ItemStacksBehindParent, true); + //controlLine->setFlag(QGraphicsItem::ItemStacksBehindParent, true); controlLine->setVisible(false); }