Changeset 4186


Ignore:
Timestamp:
Oct 23, 2019 10:18:05 AM (3 years ago)
Author:
vondreele
Message:

replace 'next' (reserved word) with 'prev' in OnGPXKetDown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4168 r4186  
    30843084        elif key == wx.WXK_DOWN:
    30853085            if keyevt.GetModifiers() == wx.MOD_SHIFT and parent != self.root:
    3086                 next = self.GPXtree.GetNextSibling(parent)
    3087                 NewId = GetGPXtreeItemId(self,next,name)
     3086                prev = self.GPXtree.GetNextSibling(parent)
     3087                NewId = GetGPXtreeItemId(self,prev,name)
    30883088                if NewId:
    30893089                    self.GPXtree.Collapse(parent)
    3090                     self.GPXtree.Expand(next)
     3090                    self.GPXtree.Expand(prev)
    30913091                    self.oldFocus = wx.Window.FindFocus()
    30923092                    wx.CallAfter(self.GPXtree.SelectItem,NewId)
Note: See TracChangeset for help on using the changeset viewer.