Changeset 4603


Ignore:
Timestamp:
Oct 17, 2020 10:18:03 AM (3 years ago)
Author:
vondreele
Message:

change CheckBox? to Button for use RB center

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIconstrGUI.py

    r4602 r4603  
    33013301                    resTable.SetRowValues(r,row)
    33023302                res.ForceRefresh()
    3303                 molcent.SetValue(False)
    33043303                G2plt.PlotRigidBody(G2frame,'Residue',AtInfo,rbData,plotDefaults)
    33053304               
     
    33733372                RefObjs.append(refObj)
    33743373                if 'molCent' not in rbData: rbData['molCent'] = False           #patch
    3375                 molcent = wx.CheckBox(ResidueRBDisplay,label=' Use RB center?')
    3376                 molcent.SetValue(rbData['molCent'])
    3377                 molcent.Bind(wx.EVT_CHECKBOX,OnMolCent)
     3374                molcent = wx.Button(ResidueRBDisplay,label=' Use RB center?')
     3375                molcent.Bind(wx.EVT_BUTTON,OnMolCent)
    33783376                Indx[molcent.GetId()] = resGrid
    33793377                refAtmSizer.Add(molcent,0,WACV)
Note: See TracChangeset for help on using the changeset viewer.