Ignore:
Timestamp:
Feb 9, 2015 9:48:03 AM (8 years ago)
Author:
vondreele
Message:

remove status bar from restraint pages. Wasn't used & failed for multiple phases.
More work on super special position constraints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIrestrGUI.py

    r1615 r1638  
    17821782        text = G2frame.dataDisplay.GetPageText(page)
    17831783        G2frame.dataFrame.RestraintEdit.SetLabel(G2gd.wxID_RESRCHANGEVAL,'Change value')
    1784         SetStatusLine('')
    17851784        if text == 'Bond restraints':
    17861785            G2gd.SetDataMenuBar(G2frame,G2frame.dataFrame.RestraintMenu)
     
    18391838        event.Skip()
    18401839
    1841     def SetStatusLine(text):
    1842         Status.SetStatusText(text)                                     
    1843 
    18441840    def RaisePage(event):
    18451841        'Respond to a "select tab" menu button'
     
    18601856    G2gd.SetDataMenuBar(G2frame,G2frame.dataFrame.RestraintMenu)
    18611857    G2frame.dataFrame.SetLabel('restraints for '+phaseName)
    1862     if not G2frame.dataFrame.GetStatusBar():
    1863         Status = G2frame.dataFrame.CreateStatusBar()
    1864     SetStatusLine('')
    18651858   
    18661859    G2frame.dataFrame.RestraintEdit.Enable(G2gd.wxID_RESTSELPHASE,False)
Note: See TracChangeset for help on using the changeset viewer.