프로젝트

일반

사용자정보

개정판 820f373f

ID820f373fd446625e3adc91da69eb94775a0ac15f
상위 52a4d186
하위 a351ef0e

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

issue #563: fix sorting

Change-Id: Ia275e935d5b78725a112628ba3f30ef8a47b34ea

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
834 834
                                fixed_run_infos.append(info)
835 835
                                break
836 836
                            elif len([connector_index for connector_index in reference_symbol.in_out_connector[0] \
837
                                            if reference_symbol.connectors[connector_index].connectedItem is run.items[1]]) > 0:
837
                                            if reference_symbol.connectors[connector_index].connectedItem is run.items[-2]]) > 0:
838 838
                                info = QEngineeringLineTracerRunItem(run, lineNo, not_trim, not_secondary)
839 839
                                fixed_run_infos.append(info)
840 840
                                break
DTI_PID/DTI_PID/MainWindow.py
1899 1899
            # for _item in matches:
1900 1900
            #    _item.remove_assoc_item(item)
1901 1901

  
1902
            app_doc_data = AppDocData.instance()
1903
            if type(item) is QEngineeringLineNoTextItem:
1904
                app_doc_data.tracerLineNos.pop(app_doc_data.tracerLineNos.index(item))
1905

  
1902 1906
            matches = [_item for _item in self.graphicsView.scene.items() if type(_item) is QEngineeringLineNoTextItem]
1903
            matches.extend([lineNo for lineNo in AppDocData.instance().tracerLineNos if
1907
            matches.extend([lineNo for lineNo in app_doc_data.tracerLineNos if
1904 1908
                            type(lineNo) is QEngineeringTrimLineNoTextItem])
1905 1909
            for match in matches:
1906 1910
                if item is match.prop('From'):

내보내기 Unified diff

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