Update
svn: r2789
This commit is contained in:
parent
504c10743d
commit
1d6e27ca42
@ -266,12 +266,11 @@ class Gallery(ImageSelect):
|
||||
a[2].destroy()
|
||||
self.p_map = None
|
||||
self.canvas_list = None
|
||||
# restore old photo list, in case we removed some and then
|
||||
# hit cancel button or closed the window
|
||||
if not ok:
|
||||
if self.old_photo_list is not None:
|
||||
self.dataobj.setPhotoList(self.old_photo_list)
|
||||
|
||||
# restore old photo list, in case we removed some and then
|
||||
# hit cancel button or closed the window
|
||||
if not ok:
|
||||
if self.old_photo_list is not None:
|
||||
self.dataobj.setPhotoList(self.old_photo_list)
|
||||
|
||||
def on_canvas1_event(self,obj,event):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user