forked from qt-creator/qt-creator
QmlDesigner: Add real as number type
Task-number: QDS-11098 Change-Id: I2825215f0ce9c57f2f88318bcdf1ecc11defa793 Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
This commit is contained in:
@@ -2602,7 +2602,8 @@ bool NodeMetaInfo::isNumber() const
|
|||||||
|
|
||||||
auto type = simplifiedTypeName();
|
auto type = simplifiedTypeName();
|
||||||
|
|
||||||
return type == "int" || type == "uint" || type == "float" || type == "double";
|
return type == "int" || type == "uint" || type == "float" || type == "double"
|
||||||
|
|| type == "real";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user