프로젝트

일반

사용자정보

개정판 e93a1840

IDe93a18403bf4de0a62dc9444101f4f1995bd097b
상위 dc379815
하위 fef5b613, 6a5a526e

함의성이(가) 4년 이상 전에 추가함

issue #563: fix onwer

Change-Id: Icecbd645d31f500654568cd3cf0a09c89b721d76

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
594 594
        QApplication.processEvents()
595 595
        for symbol in symbols:
596 596
            for assoc in symbol.associations():
597
                if assoc.owner is None:
597
                if assoc.owner is None and not issubclass(type(assoc), SymbolSvgItem):
598 598
                    assoc.owner = symbol
599 599

  
600 600
        """ restore note text item owner """
......
1641 1641
        QApplication.processEvents()
1642 1642
        for symbol in symbols:
1643 1643
            for assoc in symbol.associations():
1644
                if assoc.owner is None:
1644
                if assoc.owner is None and not issubclass(type(assoc), SymbolSvgItem):
1645 1645
                    assoc.owner = symbol
1646 1646

  
1647 1647
        """ try to find text item's owner """
......
1688 1688

  
1689 1689
        QApplication.processEvents()
1690 1690

  
1691
        worker.updateProgress.emit(tracer.maxValue)
1692

  
1693 1691
        ALL_ITEM = [item for item in worker.scene.items() if issubclass(type(item), QEngineeringAbstractItem)]
1694 1692
        for item in ALL_ITEM:
1695 1693
            item.setVisible(True)

내보내기 Unified diff

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