From 4166e8f635da849c44adbca2a74fbf7c9ea7169e Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 7 Dec 2020 10:05:46 +0200 Subject: [PATCH] Fix a regression in tool Segment a spline path. Dialog must forbids a user to save an invalid point name. --- ChangeLog.txt | 1 + src/libs/vtools/dialogs/tools/dialogcutsplinepath.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 7d2f9ba34..c1e0895c8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,7 @@ # Version 0.7.42 (unreleased) - Fix export of pattern recipe. - Update translations. +- Fix a regression in tool Segment a spline path. # Version 0.7.41 Dec 4, 2020 - Bug fixes. diff --git a/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h b/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h index 41e132e31..c9c100073 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h +++ b/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h @@ -116,7 +116,7 @@ private: //--------------------------------------------------------------------------------------------------------------------- inline bool DialogCutSplinePath::IsValid() const { - return flagFormula && flagAlias1 && flagAlias2; + return flagFormula && flagAlias1 && flagAlias2 && flagName; } #endif // DIALOGCUTSPLINEPATH_H