From 45610e7e19fbe23139bcdfe2f194d72c1a438a02 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Fri, 16 Sep 2016 03:32:14 +0400 Subject: [PATCH] Items removing have been fixed --- limereport/objectinspector/lrobjectitemmodel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/limereport/objectinspector/lrobjectitemmodel.cpp b/limereport/objectinspector/lrobjectitemmodel.cpp index d658927..9dd045a 100644 --- a/limereport/objectinspector/lrobjectitemmodel.cpp +++ b/limereport/objectinspector/lrobjectitemmodel.cpp @@ -142,7 +142,6 @@ void QObjectPropertyModel::slotObjectDestroyed(QObject *obj) m_objects.removeOne(obj); if (m_object == obj){ m_object=0; - if (!m_objects.isEmpty()) m_object=m_objects.at(0); initModel(); } }