mirror of https://github.com/YosysHQ/nextpnr.git
Fix click on wire in net section
This commit is contained in:
parent
af8b2b83f6
commit
2df7e130fb
|
|
@ -612,7 +612,7 @@ void DesignWidget::onItemSelectionChanged()
|
||||||
auto name = ctx->getWireName(item.first).c_str(ctx);
|
auto name = ctx->getWireName(item.first).c_str(ctx);
|
||||||
|
|
||||||
QtProperty *wireItem = addSubGroup(wiresItem, name);
|
QtProperty *wireItem = addSubGroup(wiresItem, name);
|
||||||
addProperty(wireItem, QVariant::String, "Name", name);
|
addProperty(wireItem, QVariant::String, "Wire", name, ElementType::WIRE);
|
||||||
|
|
||||||
if (item.second.pip != PipId())
|
if (item.second.pip != PipId())
|
||||||
addProperty(wireItem, QVariant::String, "Pip", ctx->getPipName(item.second.pip).c_str(ctx),
|
addProperty(wireItem, QVariant::String, "Pip", ctx->getPipName(item.second.pip).c_str(ctx),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue