Changeset 4345 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Mar 6, 2020 3:05:22 PM (2 years ago)
Author:
toby
Message:

Add more image settings to preferences; prevent save of config.py after "no save"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r4343 r4345  
    13371337        comboSizer = wx.BoxSizer(wx.HORIZONTAL)   
    13381338        comboSizer.Add(wx.StaticText(parent=G2frame.dataWindow,label=' Calibrant '),0,WACV)
     1339        if (GSASIIpath.GetConfigValue('Image_calibrant') and
     1340                    GSASIIpath.GetConfigValue('Image_calibrant') in calList and
     1341                    not data['calibrant']):
     1342            data['calibrant'] = GSASIIpath.GetConfigValue('Image_calibrant')
    13391343        calSel = wx.ComboBox(parent=G2frame.dataWindow,value=data['calibrant'],choices=calList,
    13401344            style=wx.CB_READONLY|wx.CB_DROPDOWN)
Note: See TracChangeset for help on using the changeset viewer.