summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexturesView.qml11
1 files changed, 8 insertions, 3 deletions
diff --git a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexturesView.qml b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexturesView.qml
index a7e6d08b3f..6027d4b690 100644
--- a/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexturesView.qml
+++ b/share/qtcreator/qmldesigner/contentLibraryQmlSource/ContentLibraryTexturesView.qml
@@ -81,13 +81,18 @@ HelperWidgets.ScrollView {
}
Text {
- id: noMatchText
- text: qsTr("No match found.");
+ id: infoText
+ text: {
+ if (!searchBox.isEmpty())
+ qsTr("No match found.")
+ else
+ qsTr("Texture library is not installed.")
+ }
color: StudioTheme.Values.themeTextColor
font.pixelSize: StudioTheme.Values.baseFontSize
topPadding: 10
leftPadding: 10
- visible: root.model.isEmpty && !searchBox.isEmpty() && !root.model.hasMaterialRoot
+ visible: root.model.isEmpty
}
}
}