mirror of https://github.com/YosysHQ/nextpnr.git
Fix minor issue in GUI Wire properties
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
78f40ca0af
commit
a8eadb5ba2
|
|
@ -537,7 +537,7 @@ void DesignWidget::onItemSelectionChanged()
|
|||
}
|
||||
|
||||
int counter = 0;
|
||||
QtProperty *pipsDownItem = addSubGroup(downhillItem, "Pips Downhill");
|
||||
QtProperty *pipsDownItem = addSubGroup(topItem, "Pips Downhill");
|
||||
for (const auto &item : ctx->getPipsDownhill(wire)) {
|
||||
addProperty(pipsDownItem, QVariant::String, "", ctx->getPipName(item).c_str(ctx), ElementType::PIP);
|
||||
counter++;
|
||||
|
|
@ -548,7 +548,7 @@ void DesignWidget::onItemSelectionChanged()
|
|||
}
|
||||
|
||||
counter = 0;
|
||||
QtProperty *pipsUpItem = addSubGroup(downhillItem, "Pips Uphill");
|
||||
QtProperty *pipsUpItem = addSubGroup(topItem, "Pips Uphill");
|
||||
for (const auto &item : ctx->getPipsUphill(wire)) {
|
||||
addProperty(pipsUpItem, QVariant::String, "", ctx->getPipName(item).c_str(ctx), ElementType::PIP);
|
||||
counter++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue