프로젝트

일반

사용자정보

개정판 7415cc4f

ID7415cc4f42f324aebd7e0a7912b080cf7ea8f15b
상위 79edc68d
하위 bf9d6375

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

fix size

Change-Id: Id000bff4fb20eb2b81f655485ba338c07c94654d

차이점 보기:

DTI_PID/DTI_PID/AppDocData.py
1399 1399
        else:
1400 1400
            return [con for con in self._configs if con.section == section]
1401 1401

  
1402
        return res
1403

  
1404 1402
    def getAppConfigs(self, section, key=None):
1405 1403
        """get application configurations"""
1406 1404

  
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
343 343

  
344 344
        matches = [assoc for assoc in self.associations() if type(assoc) is QEngineeringSizeTextItem]
345 345
        if matches:
346
            return matches[0].mainSize
347
        else:
348
            return None
346
            attrs = [attr for attr in self.getAttributes().keys() if attr.AttributeType == 'Size Text Item']
347
            if attrs:
348
                return matches[0].mainSize
349

  
350
        return None
349 351

  
350 352
    @property
351 353
    def EvaluatedSize(self):

내보내기 Unified diff

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