diff --git a/src/Gui/Dialogs/DlgExpressionInput.cpp b/src/Gui/Dialogs/DlgExpressionInput.cpp index 708bf25c2e..0b1116d0c5 100644 --- a/src/Gui/Dialogs/DlgExpressionInput.cpp +++ b/src/Gui/Dialogs/DlgExpressionInput.cpp @@ -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;