프로젝트

일반

사용자정보

개정판 f9f40aff

IDf9f40affc85328724b08422e986af1612efe79e3
상위 c2b962b0
하위 5945bc7f, 4f6a6394

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

issue #000: fix typo

Change-Id: Ib8870951c1d910fd9da7ef63773c1151708c64cb

차이점 보기:

DTI_PID/DTI_PID/ItemPropertyTableWidget.py
678 678
                cmd = SelectAttributeCommand.SelectAttributeCommand(items[0], attr, self.mainWindow.graphicsView)
679 679
                cmd.onSuccess.connect(self.onSuccessSelectAttribute)
680 680
                self.mainWindow.graphicsView.command = cmd
681
            elif keyCell.text() == 'OWNER' and (type(items[0]) is QEngineeringLineItem) or (issubclass(type(items[0]), SymbolSvgItem)):
681
            elif keyCell.text() == 'OWNER' and ((type(items[0]) is QEngineeringLineItem) or (issubclass(type(items[0]), SymbolSvgItem))):
682 682
                from SymbolAttr import SymbolAttr
683 683
                attr = SymbolAttr()
684 684
                attr.AttributeType = "OWNER"
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py
715 715
            for attr in symbolAttrs:
716 716
                if attr.AttributeType == 'Size Text Item' or attr.AttributeType == 'Text Item' or attr.AttributeType == 'Valve Oper Code':
717 717
                    at = int(attr.AttrAt)
718
                    items = [text for text in _texts if QEngineeringAbsractItem.assoc_type(text) == attr.AttributeType]
718
                    items = [text for text in _texts if QEngineeringAbstractItem.assoc_type(text) == attr.AttributeType]
719 719
                    if len(items) > at:
720 720
                        item = items[at]
721 721
                        _attrs[attr] = eval(attr.Expression) if attr.Expression else ''

내보내기 Unified diff

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