Changeset 4889 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Apr 22, 2021 7:11:38 PM (6 months ago)
Author:
toby
Message:

do not change image formatName

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r4830 r4889  
    12111211                data['setDefault'] = False
    12121212            else:
    1213                 G2frame.imageDefault = copy.copy(data)
     1213                G2frame.imageDefault = copy.deepcopy(data)
     1214                G2frame.imageDefault['setDefault'] = False
     1215                if 'formatName' in G2frame.imageDefault: del G2frame.imageDefault['formatName']
    12141216                data['setDefault'] = True
    12151217               
Note: See TracChangeset for help on using the changeset viewer.