diff --git a/limereport/objectinspector/lrobjectitemmodel.cpp b/limereport/objectinspector/lrobjectitemmodel.cpp index 122a921..c0e5398 100644 --- a/limereport/objectinspector/lrobjectitemmodel.cpp +++ b/limereport/objectinspector/lrobjectitemmodel.cpp @@ -222,6 +222,10 @@ void QObjectPropertyModel::setMultiObjects(QList* list) m_objects.clear(); submit(); + if (list->isEmpty()) { + return; + } + if (!list->contains(m_object)){ m_object=list->at(0); list->removeAt(0);