Fix assert, check should be other way arround
This commit is contained in:
parent
137241cfef
commit
bb3dad7ce7
@ -764,7 +764,7 @@ void DesignWidget::onSelectionChanged(int num, const QItemSelection &, const QIt
|
||||
QtProperty *attrsItem = addSubGroup(topItem, "Attributes");
|
||||
for (auto &item : net->attrs) {
|
||||
addProperty(attrsItem, QVariant::String, item.first.c_str(ctx),
|
||||
item.second.is_string ? item.second.to_string().c_str() : item.second.as_string().c_str());
|
||||
item.second.is_string ? item.second.as_string().c_str() : item.second.to_string().c_str());
|
||||
}
|
||||
|
||||
QtProperty *wiresItem = addSubGroup(topItem, "Wires");
|
||||
|
Loading…
Reference in New Issue
Block a user