Changeset 4508


Ignore:
Timestamp:
Jun 23, 2020 5:41:27 PM (16 months ago)
Author:
vondreele
Message:

fix the select tab menu list in phases

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4507 r4508  
    1214412144        menu = menuBar.GetMenu(mid)
    1214512145        for ipage,page in enumerate(Pages):
    12146             if menu.FindItem(page) < 0: # is tab already in menu?
     12146            if menu.FindItem(page) == wx.NOT_FOUND: # is tab already in menu?
    1214712147                Id = wx.NewId()
    1214812148                TabSelectionIdDict[Id] = page
  • trunk/GSASIIplot.py

    r4507 r4508  
    90659065        GL.glTranslate(-Tx,-Ty,-Tz)
    90669066        drawingData['modelView'] = GL.glGetDoublev(GL.GL_MODELVIEW_MATRIX)
    9067         # if drawingData['unitCellBox']:
    9068         #     if drawingData['Plane'][1]:
    9069         #         H,phase,stack,phase,color = drawingData['Plane']
    9070         #         Planes = G2lat.PlaneIntercepts(Amat,H,phase,stack)
    9071         #         for plane in Planes:
    9072         #             RenderPlane(plane,color)
    9073         #     RenderBox()
    90749067        if drawingData['showABC']:
    90759068            x,y,z = drawingData['viewPoint'][0]
Note: See TracChangeset for help on using the changeset viewer.