Ignore:
Timestamp:
Mar 6, 2021 11:23:19 AM (11 months ago)
Author:
toby
Message:

fix bind problem w/Sequential plots; open sequential fit tree item on start

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4840 r4841  
    43554355        Id = 0
    43564356        phaseId = None
     4357        seqId = None
    43574358        G2IO.ProjFileOpen(self)
    43584359        self.GPXtree.SetItemText(self.root,'Project: '+self.GSASprojectfile)
     
    43684369                    else:
    43694370                        Id = item
     4371            elif name.startswith("Sequential") and self.testSeqRefineMode():
     4372                seqId = item
    43704373            elif name == "Phases":
    43714374                phaseId = item
     
    43774380        if phaseId: # show all phases
    43784381            self.GPXtree.Expand(phaseId)
    4379         if Id:
     4382        if seqId:
     4383            self.EnablePlot = True
     4384            SelectDataTreeItem(self,seqId)
     4385            self.GPXtree.SelectItem(seqId)  # needed on OSX or item is not selected in tree; perhaps not needed elsewhere
     4386        elif Id:
    43804387            self.EnablePlot = True
    43814388            self.GPXtree.Expand(Id)
Note: See TracChangeset for help on using the changeset viewer.