프로젝트

일반

사용자정보

개정판 0e283dcf

ID0e283dcf126a90902ba051518d690cb86986159e
상위 54bf2531
하위 f0d7de14

함의성이(가) 약 5년 전에 추가함

issue #486: fix

Change-Id: I4e2652aaceaad614f47740b11be18bcce9071cde

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
1588 1588
                selected = [item for item in self.graphicsView.scene.items(QPointF(pt[0], pt[1])) if
1589 1589
                            (type(item) is QEngineeringConnectorItem and item.parent is not items[-1]) or type(item) is QEngineeringLineItem]
1590 1590
                if selected:
1591
                    if selected:
1592
                        if type(selected[0]) is QEngineeringConnectorItem:
1593
                            items[-1].connect_if_possible(selected[0].parent, 5)
1594
                        else:
1595
                            detector.connectLineToLine(selected[0], items[-1], 5)
1591
                    if type(selected[0]) is QEngineeringConnectorItem:
1592
                        items[-1].connect_if_possible(selected[0].parent, 5)
1593
                    else:
1594
                        detector.connectLineToLine(selected[0], items[-1], 5)
1596 1595

  
1597 1596
        finally:
1598 1597
            self.graphicsView.scene.removeItem(self.actionLine.tag._polyline)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)