프로젝트

일반

사용자정보

개정판 20e0a7a1

ID20e0a7a1f82720e2e86da84447136bcc4396bf65
상위 092db086
하위 2d332169

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

issue #000: fix line no recognition

Change-Id: I1373483b40c2fb5b46b4f5b8b1c4720efa6be748

차이점 보기:

DTI_PID/DTI_PID/CodeTableDialog.py
307 307
        @date       2018.07.12
308 308
    '''
309 309
    def accept(self):
310
        from CodeTables import CodeTable
310 311
        for table in QCodeTableDialog.CODE_TABLES:
311 312
            if table != 'Nominal Diameter':
312 313
                self.saveCommonCodeData(table)
313 314

  
314 315
        self.saveNomialPipeSize()
316
        CodeTable.clearTables()
315 317

  
316 318
        QDialog.accept(self)
317 319

  
DTI_PID/DTI_PID/CodeTables.py
52 52
            values = appDocData.getCodeTable(_table_name, False)
53 53
            CodeTable.TABLES[_table_name] = CodeTable(_table_name, values)
54 54

  
55
        return CodeTable.TABLES[_table_name]
55
        return CodeTable.TABLES[_table_name]
56

  
57
    @staticmethod
58
    def clearTables():
59
        CodeTable.TABLES = {}
DTI_PID/DTI_PID/ConfigurationDialog.py
653 653
            docData.saveConfigs(configs)
654 654
            docData.lineTypeConfigs = None  # clear line type configurations
655 655
            NominalPipeSizeTable.instance().pipe_sizes = None    # clear nominal pipe size table
656

  
656 657
        except Exception as ex:
657 658
            from App import App
658 659
            from AppDocData import MessageType

내보내기 Unified diff

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