Skip to content

Commit 5391e01

Browse files
committed
Added 'number of pins' info to pingroup row in pin tree
1 parent 1d90968 commit 5391e01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/gui/src/selection_details_widget/gate_details_widget/gate_pins_tree_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace hal
3232
return mNetName;
3333
case 4:
3434
if (mType == GatePinsTreeItem::Group)
35-
return (mIndex ? "descending" : "ascending");
35+
return (QString("[%1] %2").arg(getChildCount()).arg(mIndex ? "desc" : "asc"));
3636
return mIndex;
3737
}
3838
return QVariant();

plugins/gui/src/selection_details_widget/module_details_widget/module_pins_tree_model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace hal
3333
return mNetName;
3434
case 4:
3535
if (mItemType==ModulePinsTreeItem::Group)
36-
return ( mIndex ? "descending" : "ascending");
36+
return (QString("[%1] %2").arg(getChildCount()).arg(mIndex ? "desc" : "asc"));
3737
return mIndex;
3838
}
3939
return QVariant();

0 commit comments

Comments
 (0)