diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-21 13:53:29 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-21 13:53:29 +0200 |
commit | a8eadb5ba26013f9ec732f431e349fcbcfc8fbe9 (patch) | |
tree | 74a9e7dd9b219a4a88de69a20e5d499f918dab45 | |
parent | 78f40ca0af493b9ba07bb8d7c95f558f2c04d4cb (diff) | |
download | nextpnr-a8eadb5ba26013f9ec732f431e349fcbcfc8fbe9.tar.gz nextpnr-a8eadb5ba26013f9ec732f431e349fcbcfc8fbe9.tar.bz2 nextpnr-a8eadb5ba26013f9ec732f431e349fcbcfc8fbe9.zip |
Fix minor issue in GUI Wire properties
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rw-r--r-- | gui/designwidget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc index c40e58d3..a59307f0 100644 --- a/gui/designwidget.cc +++ b/gui/designwidget.cc @@ -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++;
|