- moved all the new_object related methods in their own class AppObjects.AppObject
This commit is contained in:
@@ -76,7 +76,7 @@ class TclCommandImportSvg(TclCommandSignaled):
|
||||
with self.app.proc_container.new("Import SVG"):
|
||||
|
||||
# Object creation
|
||||
self.app.new_object(obj_type, outname, obj_init, plot=False)
|
||||
self.app.app_obj.new_object(obj_type, outname, obj_init, plot=False)
|
||||
|
||||
# Register recent file
|
||||
self.app.file_opened.emit("svg", filename)
|
||||
|
||||
Reference in New Issue
Block a user