프로젝트

일반

사용자정보

개정판 b442783b

IDb442783b6292a2b4a52b21d593bc8584993ed704
상위 e32a146a
하위 b8bbadb2, 3245c2eb

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

issue #000: fix note

Change-Id: Icf85f226d7966730a7174bd038015fb6c9ba48b8

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
139 139
        res = []
140 140
        for key in self._associations.keys():
141 141
            index = 0
142
            for assoc in self._associations[key]:
142
            for assoc in list(set(self._associations[key])):
143 143
                # find owner with uid
144 144
                if assoc and type(assoc) is uuid.UUID:
145 145
                    matches = [x for x in self.scene().items() if hasattr(x, 'uid') and str(x.uid) == str(assoc)]
DTI_PID/DTI_PID/TextItemFactory.py
278 278
                    for symbol in appDocData.symbols:
279 279
                        if symbol.name in symbol_names and symbol.includes(textInfo.center):
280 280
                            item = QEngineeringNoteItem(symbol=symbol)
281
                            symbol.add_assoc_item(item)
281
                            #symbol.add_assoc_item(item)
282 282
                            item.owner = symbol
283 283
                            break
284 284
                else:

내보내기 Unified diff

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