프로젝트

일반

사용자정보

개정판 94c1d594

ID94c1d5947de72048407ab9abc9ca2b1efba94b4b
상위 40de59af
하위 2755be77

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

issue #000: fix line no selection, child symbol

Change-Id: I44a219b891b30d18dd13425472e92a031478dd4d

차이점 보기:

DTI_PID/DTI_PID/ItemTreeWidget.py
758 758
                        self.setCurrentItem(fItem)
759 759
                        return
760 760
        elif type(item) is QEngineeringLineNoTextItem:
761
            foundItems = self.findItems(item.text(), Qt.MatchExactly | Qt.MatchRecursive, 0)
761
            foundItems = self.findItems(item.text().replace('\n', ''), Qt.MatchExactly | Qt.MatchRecursive, 0)
762 762
            if foundItems is not None:
763 763
                for fItem in foundItems:
764 764
                    data = fItem.data(0, self.TREE_DATA_ROLE)
DTI_PID/DTI_PID/SymbolEditorDialog.py
1062 1062
    def addAdditionalSymbol(self, parent_index, direction, symbolName):
1063 1063
        text = "{},{},{}".format(parent_index, direction, symbolName)
1064 1064

  
1065
        if self.isAlreadyAdded(text):
1065
        if False:#self.isAlreadyAdded(text):
1066 1066
            QMessageBox.about(self.ui.buttonBox, self.tr('Notice'), self.tr('Already add item'))
1067 1067
        else:
1068 1068
            self.ui.additionalSymbolListWidget.addItem(text)

내보내기 Unified diff

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