Changeset 61a92d4 in sasview for src/sas/qtgui/Utilities
- Timestamp:
- Apr 28, 2017 9:26:55 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 28a09b0
- Parents:
- 0215e0a
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/ObjectLibrary.py
r0215e0a r61a92d4 8 8 this._objects[obj_name] = obj 9 9 10 def deleteObject(obj_name): 10 def deleteObjectByRef(obj): 11 for name, object in this._objects.iteritems(): 12 if object == obj: 13 del this._objects[name] 14 break 15 16 def deleteObjectByName(obj_name): 11 17 if obj_name in this._objects: 12 18 del this._objects[obj_name]
Note: See TracChangeset
for help on using the changeset viewer.