(self, widget, filelist)
| 1050 | "There were an error during project load: %s" % traceback.format_exc()) |
| 1051 | |
| 1052 | def on_open_dialog_confirm(self, widget, filelist): |
| 1053 | if len(filelist): |
| 1054 | self.menu_new_clicked(None) |
| 1055 | try: |
| 1056 | widgetTree = self.project.load( |
| 1057 | filelist[0], self.projectConfiguration) |
| 1058 | if widgetTree != None: |
| 1059 | self.add_widget_to_editor(widgetTree) |
| 1060 | self.projectPathFilename = filelist[0] |
| 1061 | except Exception: |
| 1062 | self.show_error_dialog("ERROR: Unable to load the project", |
| 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 |
nothing calls this directly
no test coverage detected