Light, rename all LEDOS to SHS
git-svn-id: svn://db.shs.com.ru/libs@15 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -223,15 +223,18 @@ bool BlockView::eventFilter(QObject * o, QEvent * e) {
|
||||
unmarkPins(true);
|
||||
reconnectAll();
|
||||
tmp_bus.hide();
|
||||
tmp_bus.clear();
|
||||
}
|
||||
if (new_branch && mm_cancel) {
|
||||
new_branch = false;
|
||||
tmp_bus.hide();
|
||||
tmp_bus.clear();
|
||||
}
|
||||
if (moved && mm_cancel) {
|
||||
moved = false;
|
||||
restoreSelState();
|
||||
tmp_bus.hide();
|
||||
tmp_bus.clear();
|
||||
}
|
||||
if (mm_cancel) return true;
|
||||
mm_mods = me->modifiers();
|
||||
@@ -481,6 +484,7 @@ bool BlockView::eventFilter(QObject * o, QEvent * e) {
|
||||
}
|
||||
unmarkPins();
|
||||
tmp_bus.hide();
|
||||
tmp_bus.clear();
|
||||
reconnectAll();
|
||||
}
|
||||
clearBusStates();
|
||||
@@ -1098,6 +1102,7 @@ bool BlockView::connectTmpToBus(BlockBusItem * bus) {
|
||||
bus->segments << QPair<int, int>(lp + i, lp + i + 1);
|
||||
bus->segments << QPair<int, int>(np, lp + tmp_bus.pol.size() - 1);
|
||||
bus->updateGeometry();
|
||||
tmp_bus.clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1256,6 +1261,7 @@ void BlockView::newBranchAccept(BlockBusItem * item) {
|
||||
item->updateGeometry();
|
||||
emit actionEvent(BlockItemBase::BusAdd, QList<QGraphicsItem*>() << item);
|
||||
emit connectionsChanged();
|
||||
tmp_bus.clear();
|
||||
}
|
||||
|
||||
|
||||
@@ -1264,6 +1270,7 @@ void BlockView::newBranchCancel() {
|
||||
//qDebug() << "cancel";
|
||||
new_branch = false;
|
||||
tmp_bus.hide();
|
||||
tmp_bus.clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user