remove 3 endpoint in new bus

This commit is contained in:
2023-09-06 20:29:41 +03:00
parent fd26c53fd2
commit ac2bf4567f

View File

@@ -296,7 +296,6 @@ bool BlockView::eventFilter(QObject * o, QEvent * e) {
qgraphicsitem_cast<BlockItemPin *>(mm_ci)->clearStateStack();
hideTmpBuses();
tmp_bus.setBusType(qgraphicsitem_cast<BlockItemPin *>(mm_ci)->busType());
tmp_bus.setEndpointsNumber(3);
tmp_bus.show();
new_bus = true;
qDeleteAll(tmp_buses);