forked from qt-creator/qt-creator
QmlDesigner: Implement material bundle frontend
Fixes: QDS-7500 Change-Id: I60c512bb7664d13160f8c58ce063e1e87b6875ee Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -235,6 +235,8 @@ void MaterialBrowserModel::setSearchText(const QString &searchText)
|
||||
isEmpty = !isValidIndex(m_selectedIndex + inc)
|
||||
&& !isValidIndex(m_selectedIndex - inc);
|
||||
}
|
||||
if (!isMaterialVisible(m_selectedIndex)) // handles the case of a single material
|
||||
isEmpty = true;
|
||||
}
|
||||
|
||||
if (isEmpty != m_isEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user