Ignore:
Timestamp:
Jul 7, 2017 12:32:09 PM (4 years ago)
Author:
vondreele
Message:

fix G2constrGUI; dataDisplay --> rbBook & fix a parent issue
similarly in G2restrGUI dataDisplay --> restrBook
G2ctrlGUI; missing G2obj import & fix a parent issue on a couple of dialogs
put the wxID definitions into _initMenus - need to be sorted into each section
remove the tree title - redundant info
tree root text changed
G2plot; change dataDisplay to restrBook for torsion & Ramachandran plots
some dataDisplay --> phaseDisplay in various places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branch/2frame/GSASIIctrlGUI.py

    r2913 r2914  
    3434import GSASIIpy3 as G2py3
    3535import GSASIIlog as log
     36import GSASIIobj as G2obj
    3637
    3738# Define a short names for convenience
     
    16011602        G2frame.ErrorDialog('No match','No histograms match '+hst,G2frame)
    16021603        return
    1603     dlg = wx.Dialog(G2frame.dataDisplay,wx.ID_ANY,'Set a parameter value',
     1604    dlg = wx.Dialog(G2frame,wx.ID_ANY,'Set a parameter value',
    16041605        style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER)
    16051606    mainSizer = wx.BoxSizer(wx.VERTICAL)
     
    17011702    if copyopts['InTable']:
    17021703        dlg = ScrolledMultiEditor(
    1703             G2frame.dataDisplay,dictlst,
     1704            G2frame,dictlst,
    17041705            len(dictlst)*[keyLst[-1]],prelbl,
    17051706            header='Editing parameter '+lbl,
     
    29682969
    29692970        if self.panel.GetSizer(): self.panel.GetSizer().Clear(True)
    2970         mainSizer = self.panel.GetSizer()
     2971        mainSizer = wx.BoxSizer(wx.VERTICAL)
    29712972        num = len(self.varyList)
    29722973        mainSizer.Add(wx.StaticText(self.panel,label=' Number of refined variables: '+str(num)),0)
Note: See TracChangeset for help on using the changeset viewer.