git-svn-id: svn://db.shs.com.ru/libs@153 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-01-10 14:05:18 +00:00
parent f7ad7696ef
commit a1a58713f1
3 changed files with 10 additions and 5 deletions

View File

@@ -289,6 +289,7 @@ bool BlockView::eventFilter(QObject * o, QEvent * e) {
tmp_bus.clear();
tmp_bus.show();
new_bus = true;
newBusStarted(tmp_bus.busType());
markPins(tmp_bus.busType());
if (qgraphicsitem_cast<BlockItemPin*>(mm_ci)->alignment() == Qt::AlignLeft ||
qgraphicsitem_cast<BlockItemPin*>(mm_ci)->alignment() == Qt::AlignRight)
@@ -1201,6 +1202,7 @@ void BlockView::adjustThumb() {
void BlockView::newBranch(BlockBusItem * item) {
bus_from = item;
newBusStarted(item->busType());
markPins(item->busType());
new_branch = true;
tmp_bus.setBusType(item->busType());