Commit 85c9ea48 authored by Alvaro Sanchez's avatar Alvaro Sanchez Committed by Kitware Robot
Browse files

Merge topic 'fix-qMeshItem-crash' into release

51556de5

 Check validity of referenced qtMeshItemCombo.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !995
parents 94182a57 51556de5
......@@ -66,7 +66,10 @@ smtk::attribute::MeshItemPtr qtMeshItem::meshItem()
void qtMeshItem::refreshEntityItems()
{
this->Internals->MeshItemCombo->init();
if (!this->Internals->MeshItemCombo.isNull())
{
this->Internals->MeshItemCombo->init();
}
}
bool qtMeshItem::add(const smtk::mesh::MeshSet& val)
......
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