Changeset 2336


Ignore:
Timestamp:
Jun 21, 2016 12:37:02 PM (5 years ago)
Author:
vondreele
Message:

two fixes for PDF plots

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2325 r2336  
    22282228    G2frame.G2plotNB.RaisePageNoRefresh(Page)
    22292229    G2frame.G2plotNB.status.DestroyChildren()
     2230    G2frame.G2plotNB.skipPageChange = True      #to keep ISFG data tab visible
    22302231    if G2frame.Contour:
    22312232        Page.Choice = (' key press','d: lower contour max','u: raise contour max',
  • trunk/GSASIIpwdGUI.py

    r2335 r2336  
    47984798                xydata[key] = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,G2frame.root,name))
    47994799                PDFname = name
    4800         powName = xydata['Sample'][2]
     4800        powName = Data['Sample']['Name']
    48014801        powId = G2gd.GetPatternTreeItemId(G2frame,G2frame.root,powName)
    48024802        inst = G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,powId,'Instrument Parameters'))[0]
Note: See TracChangeset for help on using the changeset viewer.