Changeset 4965 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Jun 21, 2021 11:32:01 AM (6 months ago)
Author:
toby
Message:

start work on option to move Phase/Data? to 1st level in tree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r4910 r4965  
    39903990       
    39913991    def MakeNewPhase(event):
    3992         if not G2gd.GetGPXtreeItemId(G2frame,G2frame.root,'Phases'):
    3993             sub = G2frame.GPXtree.AppendItem(parent=G2frame.root,text='Phases')
    3994         else:
    3995             sub = G2gd.GetGPXtreeItemId(G2frame,G2frame.root,'Phases')
    39963992        PhaseName = ''
    39973993        dlg = wx.TextEntryDialog(None,'Enter a name for this phase','Phase Name Entry','New phase',
     
    40054001                        break
    40064002                cell = Cell[2:10]       
     4003                sub = G2gd.FindPhaseItem(G2frame)
    40074004                sub = G2frame.GPXtree.AppendItem(parent=sub,text=PhaseName)
    40084005                E,SGData = G2spc.SpcGroup(controls[13])
Note: See TracChangeset for help on using the changeset viewer.