Fix a regression in tool Segment a spline path.

Dialog must forbids a user to save an invalid point name.
This commit is contained in:
Roman Telezhynskyi 2020-12-07 10:05:46 +02:00
parent 7eb99f7a2f
commit 4166e8f635
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# Version 0.7.42 (unreleased) # Version 0.7.42 (unreleased)
- Fix export of pattern recipe. - Fix export of pattern recipe.
- Update translations. - Update translations.
- Fix a regression in tool Segment a spline path.
# Version 0.7.41 Dec 4, 2020 # Version 0.7.41 Dec 4, 2020
- Bug fixes. - Bug fixes.

View File

@ -116,7 +116,7 @@ private:
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
inline bool DialogCutSplinePath::IsValid() const inline bool DialogCutSplinePath::IsValid() const
{ {
return flagFormula && flagAlias1 && flagAlias2; return flagFormula && flagAlias1 && flagAlias2 && flagName;
} }
#endif // DIALOGCUTSPLINEPATH_H #endif // DIALOGCUTSPLINEPATH_H