Changeset 2246 for trunk/GSASII.py


Ignore:
Timestamp:
May 10, 2016 9:51:51 AM (6 years ago)
Author:
vondreele
Message:

trap another Id=0 problem after Refine finishes (G2.py)
rearrange routines in G2plot; refactor OnPageChanged? to allow (currently commented out) diagnostic prints. "fix" flashing problem by commenting out self.skipPageChange = False line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2244 r2246  
    36803680                        Id = G2gd.GetPatternTreeItemId(self, Id, txt)
    36813681                    self.PickIdText = None  #force reload of page
    3682                     self.PickId = Id
    3683                     self.PatternTree.SelectItem(Id)
    3684                     G2gd.MovePatternTreeToGrid(self,Id) # reload current tree item, should update current plot
     3682                    if Id:
     3683                        self.PickId = Id
     3684                        self.PatternTree.SelectItem(Id)
     3685                        G2gd.MovePatternTreeToGrid(self,Id) # reload current tree item, should update current plot
    36853686            finally:
    36863687                dlg2.Destroy()
Note: See TracChangeset for help on using the changeset viewer.