Skip to content
Snippets Groups Projects
Commit 048e9a85 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Fix error in ObserverItemModel::getPropertiesWidget

parent becf63df
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -102,7 +102,7 @@ QWidget* ObserverItemModel::getPropertiesWidget(const QModelIndex& index, QWidge
// create widget
DatafieldRefPtr ref = DatafieldRefPtr::dynamicCast(entry.identifier);
if (info && !entry.value->data || entry.value->data->ice_id() == "::armarx::VariantData")
if (info && (!entry.value->data || entry.value->data->ice_id() == "::armarx::VariantData"))
{
ARMARX_INFO << "Variant Factory for " << entry.typeName << " is missing - trying to load lib now";
auto lib = info->loadLibraryOfVariant(entry.typeName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment