Changeset 5026 for trunk


Ignore:
Timestamp:
Sep 16, 2021 3:10:33 PM (21 months ago)
Author:
vondreele
Message:

fixes to LeBail?: remove the wx.CallAfter? - undesirable effects
clear the 'newLeBail' flag after new gpx file is loaded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r5025 r5026  
    53175317            try:
    53185318                if dlg2.ShowModal() == wx.ID_OK:
     5319                    if refPlotUpdate: refPlotUpdate({},restore=True)
     5320                    self.reloadFromGPX(rtext)
     5321                    Controls = self.GPXtree.GetItemPyData(GetGPXtreeItemId(self,self.root, 'Controls'))
    53195322                    Controls['newLeBail'] = False
    5320                     if refPlotUpdate: refPlotUpdate({},restore=True)
    5321                     wx.CallAfter(self.reloadFromGPX,rtext)
    53225323                else:
    53235324                    if refPlotUpdate: refPlotUpdate({},restore=True)
Note: See TracChangeset for help on using the changeset viewer.