Changeset 3869


Ignore:
Timestamp:
Apr 2, 2019 5:53:40 PM (3 years ago)
Author:
toby
Message:

more clear working of Cancel on relocate image

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r3855 r3869  
    228228                G2frame.GPXtree.UpdateImageLoc(treeId,imagefile)
    229229            else:
    230                 imagefile = False
     230                imagefile = None # was False
    231231        finally:
    232232            dlg.Destroy()
  • trunk/GSASIIimgGUI.py

    r3848 r3869  
    6868   
    6969    Npix,imagefile,imagetag = G2IO.GetCheckImageFile(G2frame,G2frame.Image)
     70    if imagefile is None: return []
    7071    formatName = data.get('formatName','')
    7172    sumImg = G2IO.GetImageData(G2frame,imagefile,True,ImageTag=imagetag,FormatName=formatName)
Note: See TracChangeset for help on using the changeset viewer.