(self, widget, path="")
| 1063 | "There were an error during project load: %s" % traceback.format_exc()) |
| 1064 | |
| 1065 | def menu_save_clicked(self, widget, path=""): |
| 1066 | # the dragHelper have to be removed |
| 1067 | for drag_helper in self.drag_helpers: |
| 1068 | drag_helper.setup(None, None) |
| 1069 | if len(path): |
| 1070 | self.projectPathFilename = path + '/' + \ |
| 1071 | self.fileSaveAsDialog.get_fileinput_value() |
| 1072 | else: |
| 1073 | if not len(self.projectPathFilename): |
| 1074 | self.fileSaveAsDialog.confirm_value.do(self.menu_save_clicked) |
| 1075 | self.fileSaveAsDialog.show() |
| 1076 | return |
| 1077 | |
| 1078 | self.remove_box_shadow_selected_widget() |
| 1079 | self.project.save(self.projectPathFilename, self.projectConfiguration) |
| 1080 | |
| 1081 | def menu_save_widget_clicked(self, widget, path=""): |
| 1082 | """ This method allows to export the selected widget |
nothing calls this directly
no test coverage detected