0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Items removing have been fixed

This commit is contained in:
Arin Alexander 2016-09-16 03:32:14 +04:00
parent 8f188414ed
commit 45610e7e19

View File

@ -142,7 +142,6 @@ void QObjectPropertyModel::slotObjectDestroyed(QObject *obj)
m_objects.removeOne(obj); m_objects.removeOne(obj);
if (m_object == obj){ if (m_object == obj){
m_object=0; m_object=0;
if (!m_objects.isEmpty()) m_object=m_objects.at(0);
initModel(); initModel();
} }
} }