- fixed the on_delete() method in the App class; sometime it will delete all files that have similar names
- made sure that on creation of new objects the adding of the names to the auto-complete list is done properly
This commit is contained in:
@@ -577,6 +577,11 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
||||
name += "_1"
|
||||
obj.options["name"] = name
|
||||
|
||||
# ############################################################################################################
|
||||
# update the KeyWords list with the name of the file
|
||||
# ############################################################################################################
|
||||
self.app.myKeywords.append(name)
|
||||
|
||||
obj.set_ui(obj.ui_type(app=self.app))
|
||||
# a way to signal that the object was fully loaded
|
||||
obj.load_complete = True
|
||||
|
||||
Reference in New Issue
Block a user