Changeset 4551


Ignore:
Timestamp:
Aug 20, 2020 4:24:29 PM (3 years ago)
Author:
toby
Message:

fix name wipe out bug

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4550 r4551  
    32573257                            choice.append(str(atomData[r][c]))
    32583258                    choice.sort()
    3259                     dlg = wx.SingleChoiceDialog(G2frame,'Select','Name',choice)
     3259                    dlg = wx.SingleChoiceDialog(G2frame,'Select atom(s) by name',
     3260                                            'Name Selection',choice)
    32603261                    if dlg.ShowModal() == wx.ID_OK:
    32613262                        sel = dlg.GetSelection()
     
    32663267                            if parms == atomData[row][c]:
    32673268                                Atoms.SelectRow(row,True)
    3268                     dlg.Destroy()
     3269                        dlg.Destroy()
     3270                    else:
     3271                        dlg.Destroy()
     3272                        return
    32693273                elif Atoms.GetColLabelValue(c) == 'residue':
    32703274                    choice = []
  • trunk/GSASIIscriptable.py

    r4527 r4551  
    33523352        elif control == 'Reverse Seq':
    33533353            return self.data['Controls']['data']['Reverse Seq']
     3354        elif control == 'seqCopy':
     3355            return self.data['Controls']['data']['Copy2Next']
    33543356        elif control in self.data['Controls']['data']:
    33553357            return self.data['Controls']['data'][control]
    3356         elif control == 'seqCopy':
    3357             return self.data['Controls']['data']['Copy2Next']
    33583358        else:
    33593359            G2fil.G2Print('Defined Controls:',self.data['Controls']['data'].keys())
Note: See TracChangeset for help on using the changeset viewer.