mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-05 05:23:06 +00:00
Fix assert, check should be other way arround
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user