Gui: Use constant for Type::BadType instead Type::badType()
This commit is contained in:
@@ -179,7 +179,7 @@ Base::Type DlgExpressionInput::determineTypeVarSet()
|
||||
std::string unitTypeString = impliedUnit.getTypeString();
|
||||
if (unitTypeString.empty()) {
|
||||
// no type was provided
|
||||
return Base::Type::badType();
|
||||
return Base::Type::BadType;
|
||||
}
|
||||
|
||||
std::string typeString = "App::Property" + unitTypeString;
|
||||
|
||||
Reference in New Issue
Block a user