forked from qt-creator/qt-creator
QmlDesigner: Sort incompatible properties
Sort incompatible properties before showing them in the dialog. Task-number: QDS-2560 Change-Id: I9871bc8ea488be04fcfac7b9c0f1a7cbf185072a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
9b249033d2
commit
9d6f69abe9
@@ -206,6 +206,8 @@ void PropertyEditorContextObject::changeTypeName(const QString &typeName)
|
||||
incompatibleProperties.append(property.name());
|
||||
}
|
||||
|
||||
Utils::sort(incompatibleProperties);
|
||||
|
||||
if (!incompatibleProperties.empty()) {
|
||||
QString detailedText = QString("<b>Incompatible properties:</b><br>");
|
||||
|
||||
|
Reference in New Issue
Block a user