mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +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);
|
||||
if (m_object == obj){
|
||||
m_object=0;
|
||||
if (!m_objects.isEmpty()) m_object=m_objects.at(0);
|
||||
initModel();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user