New LimitData::isEmpty function and context menu enhancements (#7030)

This commit is contained in:
Neil Horne
2019-11-21 08:28:24 +01:00
committed by Bertrand Songis
parent fd4d096058
commit 4b15e3910c
4 changed files with 108 additions and 22 deletions
+5
View File
@@ -85,6 +85,11 @@ void LimitData::clear()
max = +1000;
}
bool LimitData::isEmpty() const
{
return (min == -1000 && max == 1000 && !revert && !offset && !ppmCenter && !symetrical && name[0] == '\0');
}
/*
* CurveData