프로젝트

일반

사용자정보

개정판 654f3ac2

ID654f3ac28684204e659a5ec91ad7b96938ec699e
상위 7c794c4c
하위 9bb3d1e4

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

issue #563: fix attribute infinite loop

Change-Id: I4b29ab2b3ae32c1d259fe4c8f367bd530e455201

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
502 502
                App.mainWnd().addMessage.emit(MessageType.Error, message)
503 503

  
504 504
        """ try to connect label to valve """
505
        labels = [symbol for symbol in symbols if type(symbol) is QEngineeringInstrumentItem and not symbol.has_connection]
505
        labels = [symbol for symbol in symbols if type(symbol) is QEngineeringInstrumentItem and not symbol.connectors]
506 506
        valves = [symbol for symbol in symbols if symbol.type == 'Specialty Components' or symbol.type == 'In-Line' or symbol.type == 'Relief Devices']
507 507
        for label in labels:
508 508
            label.connectAttribute(valves, clear=False)

내보내기 Unified diff

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