Commit b1a44e8e authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.itemLibrary: crash fix

parent 9ada2a3a
......@@ -285,6 +285,8 @@ void ItemLibraryWidget::setSearchFilter(const QString &searchFilter)
void ItemLibraryWidget::setModel(Model *model)
{
m_d->model = model;
if (!model)
return;
setItemLibraryInfo(model->metaInfo().itemLibraryInfo());
updateModel();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment