Ignore:
Timestamp:
Jan 13, 2021 9:42:03 PM (11 months ago)
Author:
toby
Message:

HessianLSQ: force vars to float; small wx 4.1 fixes; scriptable: more docs, TOF peak widths (from Adam)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4680 r4764  
    549549            xmin=min
    550550            if GSASIIpath.GetConfigValue('debug'):
    551                 print('Change min to xmin here:')
     551                print('Call to ValidatedTxtCtrl using min (change to xmin) here:')
    552552                G2obj.HowDidIgetHere(True)
    553553        if max is not None:
    554554            xmax=max
    555555            if GSASIIpath.GetConfigValue('debug'):
    556                 print('Change max to xmax here:')
     556                print('Call to ValidatedTxtCtrl using max (change to xmax) here:')
    557557                G2obj.HowDidIgetHere(True)
    558558        # initialization
     
    14721472            kargs = {}
    14731473            if i < len(minvals):
    1474                 if minvals[i] is not None: kargs['min']=minvals[i]
     1474                if minvals[i] is not None: kargs['xmin']=minvals[i]
    14751475            if i < len(maxvals):
    1476                 if maxvals[i] is not None: kargs['max']=maxvals[i]
     1476                if maxvals[i] is not None: kargs['xmax']=maxvals[i]
    14771477            if i < len(sizevals):
    14781478                if sizevals[i]: kargs['size']=sizevals[i]
     
    15181518        btnsizer = wx.BoxSizer(wx.HORIZONTAL)
    15191519        btnsizer.Add(self.OKbtn)
     1520        self.OKbtn.Bind(wx.EVT_BUTTON,lambda event: self.EndModal(wx.ID_OK))
    15201521        btn = wx.Button(self, wx.ID_CLOSE,"Cancel")
    15211522        btn.Bind(wx.EVT_BUTTON,self._onClose)
Note: See TracChangeset for help on using the changeset viewer.