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

This commit is contained in:
2017-08-10 12:49:58 +00:00
parent a625dd086b
commit e14628fede

View File

@@ -1484,7 +1484,7 @@ void BlockView::reconnectAll() {
for (int j = 0; j < pins.size(); ++j) {
if (!pins[j]->isVisible()) continue;
QPointF pp = pins[j]->scenePos();
if (cp == pp) {
if ((cp - pp).manhattanLength() <= (grid_step / 2.)) {
//qDebug() << "found";
if (b->busType() == pins[j]->busType()) {
b->connections_[conns[c]] = pins[j];