Ignore:
Timestamp:
Nov 2, 2020 12:34:56 PM (15 months ago)
Author:
toby
Message:

reset plot when changing between data types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4635 r4637  
    40924092                    else:
    40934093                        self.G2plotNB.Delete('Powder Patterns')
     4094                        self.lastPlotType = None
    40944095                    if not nItems['IMG']:
    40954096                        self.G2plotNB.Delete('2D Powder Image')
     
    51455146                if GSASIIpath.GetConfigValue('debug'):
    51465147                    print('Closing out-of-date plot',lbl)
     5148                if lbl == 'Powder Patterns':
     5149                    self.lastPlotType = None
    51475150                self.G2plotNB.Delete(lbl)
    51485151        # put the previously last-raised plot tab on top, if present.
Note: See TracChangeset for help on using the changeset viewer.