프로젝트

일반

사용자정보

개정판 b95146ca

IDb95146ca162ff96184a621e71a9f61689a20cdc5
상위 f9176c2f
하위 92eceb0f

백흠경이(가) 약 5년 전에 추가함

issue #1197: save as 기능 수정

Change-Id: I199ad4f628062d8e74f75b2141cd8c4079e58655

차이점 보기:

HYTOS/HYTOS/MainWindow.py
670 670
            try:
671 671
                if os.path.splitext(name)[1] != '.hytos': name += '.hytos'
672 672

  
673
                self.actionSaveCliked()  # save current drawing
674

  
673 675
                app_doc_data = AppDocData.instance()
674
                # copy template.db to name
675
                copyfile(app_doc_data.getTemplateDbPath(), name)
676
                # copy current drawing file to new drawing file
677
                copyfile(app_doc_data.activeDrawing.path, name)
676 678
                app_doc_data.activeDrawing.path = name
677
                self.actionSaveCliked()
678 679

  
679 680
                matches = [drawing for drawing in app_doc_data.getDrawings()
680 681
                           if os.path.exists(drawing.path) and os.path.samefile(drawing.path, name)]
HYTOS/HYTOS/pagefold.qss
78 78
    height: 13px;
79 79
}
80 80

  
81
/* Customize arrows. */
82

  
83
*::down-arrow, *::menu-indicator {
84
    width: 7px;
85
    height: 7px;
86
}
87

  
88
*::up-arrow {
89
    width: 7px;
90
    height: 7px;
91
}
92

  
93 81
/* Customize push buttons and comboboxes. Our read-only combobox
94 82
   is very similar to a push button, so they share the same border image. */
95 83

  

내보내기 Unified diff

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