forked from qt-creator/qt-creator
QmlDesigner: Fix "no match" visible when searching materials
... in the content library Fixes: QDS-14996 Change-Id: Icba7b6b82a946824c593dad68e8198219cd6b1d5 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -127,7 +127,7 @@ HelperWidgets.ScrollView {
|
||||
qsTr("<b>Content Library</b> is disabled inside a non-visual component.")
|
||||
} else if (!root.materialsModel.bundleExists) {
|
||||
qsTr("No materials available. Make sure you have an internet connection.")
|
||||
} else if (!searchBox.isEmpty()) {
|
||||
} else if (!searchBox.isEmpty() && root.materialsModel.isEmpty) {
|
||||
qsTr("No match found.")
|
||||
} else {
|
||||
""
|
||||
|
Reference in New Issue
Block a user