mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Items removing have been fixed
This commit is contained in:
parent
8f188414ed
commit
45610e7e19
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user