Changeset 443
- Timestamp:
- Wed Jun 11 02:32:35 2008
- Files:
-
- ganttpv/trunk/ORM.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ganttpv/trunk/ORM.py
r441 r443 4124 4124 # undelete objects will be in this list, but shouldn't be in self.objids 4125 4125 for shape in self.Report.GetList('GraphicObject'): 4126 ## x, y = shape.PosX, shape.PosY # allow undo of moves (temp pos doesn't undo) 4127 ## if x != None and y != None: 4128 ## shape.SetTempPos(x, y) 4129 if shape.canvas == None: # they were deleted, the need to be recreated 4126 4127 x, y = shape.PosX, shape.PosY # undo of moves (temp pos doesn't undo) 4128 if x != None and y != None: 4129 shape.SetTempPos(x, y) 4130 4131 if shape.canvas == None: # undo of deletes, the need to be recreated 4130 4132 self.CreateNode(self.pdc, shape) 4131 4133 shape.OnBottom() # put objectification behind facttype 4134 4132 4135 self.RedrawID(shape.dcid) 4133 4136
