Commit 5303007c authored by Bob Obara's avatar Bob Obara

BUG: Fix crash found in CMB Close Model Test

The issue is due to qtModelEntityItem trying to init its combo box widget after
the widget has been deleted (due to the widget's parent being deleted)
parent 7a2ff525
......@@ -186,7 +186,10 @@ void qtModelEntityItem::updateItemData()
void qtModelEntityItem::refreshEntityItems()
{
this->Internals->EntityItemCombo->init();
if(this->Internals->EntityItemCombo)
{
this->Internals->EntityItemCombo->init();
}
}
void qtModelEntityItem::addEntityAssociationWidget()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment