Ignore:
Timestamp:
Jun 29, 2018 11:54:56 AM (5 years ago)
Author:
vondreele
Message:

replace tc.SetDimensions? with tc.SetSize? as suggested in G2ctrlGUI l 3882
put a try, except around Sizer.Clear(True) : fails with C++ error sometimes, ex. edit atom parm & switch phase
provide suitable return if space group not changed in G2phsGUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3451 r3459  
    46154615        Sizer = self.GetSizer()
    46164616        if Sizer:
    4617             Sizer.Clear(True)
     4617            try:
     4618                Sizer.Clear(True)
     4619            except:
     4620                pass
    46184621        else:
    46194622            print ('No sizer in dataWindow')
Note: See TracChangeset for help on using the changeset viewer.