프로젝트

일반

사용자정보

개정판 8329204f

ID8329204fb1ab0cf2d9b595feaa1b835a6e7e723b
상위 b4443d0a
하위 e78ba6c9

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

issue #503: fix vendor package on db action

Change-Id: If7f755122854c6de94c403c58f5fe060223557e4

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
2704 2704
            for component in [component for component in components if
2705 2705
                              component['Name'] == 'VendorPackage' and component['SymbolType_UID'] == -1]:
2706 2706
                item = QEngineeringVendorItem.from_database(component)
2707
                item.transfer.onRemoved.connect(self.itemRemoved)
2708
                self.graphicsView.scene.addItem(item)
2707
                if item is not None:
2708
                    item.transfer.onRemoved.connect(self.itemRemoved)
2709
                    self.graphicsView.scene.addItem(item)
2709 2710

  
2710 2711
            # connect flow item to line
2711 2712
            for line in lines:
......
2864 2865

  
2865 2866
            for unknown in root.iter('UNKNOWN'):
2866 2867
                item = QEngineeringUnknownItem.fromXml(unknown)
2867
                item.transfer.onRemoved.connect(self.itemRemoved)
2868 2868
                if item is not None:
2869 2869
                    item.transfer.onRemoved.connect(self.itemRemoved)
2870 2870
                    self.graphicsView.scene.addItem(item)

내보내기 Unified diff

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