diff --git a/ChangeLog.txt b/ChangeLog.txt index e5af213c8..af9bafff6 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,7 @@ # Valentina 0.7.52 (unreleased) - Fix crash when default locale is ru. - Puzzle app. Fix incorrect update of a layout piece. +- Fix visualization for tool Point of intersection line and axis. # Valentina 0.7.51 April 18, 2022 - Z value change for a layout piece. diff --git a/src/libs/vtools/visualization/visualization.cpp b/src/libs/vtools/visualization/visualization.cpp index 8af0d6fb4..64b3e7813 100644 --- a/src/libs/vtools/visualization/visualization.cpp +++ b/src/libs/vtools/visualization/visualization.cpp @@ -258,6 +258,8 @@ void Visualization::DrawLine(VScaledLine *lineItem, const QLineF &line, const QC { lineItem->setLine(line); } + + lineItem->setVisible(not line.isNull()); } //---------------------------------------------------------------------------------------------------------------------