프로젝트

일반

사용자정보

개정판 0d19831e

ID0d19831e2f842ab158677149477189addc15d275
상위 64941327
하위 9be41199

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

issue #663: replace comm test

Change-Id: I6876ab40ae7f008569993fec484202faab7cb80c

차이점 보기:

DTI_PID/DTI_PID/RecognitionDialog.py
3420 3420
            cmd.execute((drawing, scene), symbol=symbol, text=text, line=line, unknown=unknown,
3421 3421
                        package=package, update=False)
3422 3422
        except Exception as ex:
3423
            from App import App
3424 3423
            message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename,
3425 3424
                                                           sys.exc_info()[-1].tb_lineno)
3426 3425
            App.mainWnd().addMessage.emit(MessageType.Error, message)
......
3445 3444
    
3446 3445
    def preset_execute(self, scene, find_symbol, replace_symbol, replace_action, condition):
3447 3446
        """ run preset """
3447
        from App import App
3448

  
3448 3449
        try:
3449 3450
            from ReplaceInsertCommand import ReplaceInsertCommand
3450
            from App import App
3451 3451

  
3452 3452
            cmd = ReplaceInsertCommand()
3453 3453
            cmd.display_message.connect(App.mainWnd().onAddMessage)
......
3461 3461

  
3462 3462
    def save_scene(self, scene):
3463 3463
        """ save scene """
3464
        from App import App
3465

  
3464 3466
        try:
3465 3467
            from SaveWorkCommand import SaveWorkCommand
3466 3468

  

내보내기 Unified diff

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