Changeset 4827 for trunk


Ignore:
Timestamp:
Feb 24, 2021 12:20:42 PM (8 months ago)
Author:
vondreele
Message:

fix bug deleting vector RB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4825 r4827  
    1009510095            return resrbSizer
    1009610096           
    10097         def VecrbSizer(RBObj):
     10097        def VecrbSizer(RBObj,resIndx):
    1009810098            '''Displays details for selected vector rigid body'''
    1009910099            def OnFrac(invalid,value,tc):
     
    1017610176                G2frame.bottomSizer =  ResrbSizer(rbObj,rbIndx)
    1017710177            else: #Vector
    10178                 G2frame.bottomSizer =  VecrbSizer(rbObj)
     10178                G2frame.bottomSizer =  VecrbSizer(rbObj,rbIndx)
    1017910179            mainSizer.Add(G2frame.bottomSizer)
    1018010180            mainSizer.Layout()
     
    1027510275            mainSizer.Add(select,0)           
    1027610276            G2frame.bottomSizer = wx.BoxSizer(wx.VERTICAL)
    10277             G2frame.bottomSizer.Add(VecrbSizer(rbObj))
     10277            G2frame.bottomSizer.Add(VecrbSizer(rbObj,vecId))
    1027810278            mainSizer.Add(G2frame.bottomSizer)
    1027910279            G2plt.PlotStructure(G2frame,data)
Note: See TracChangeset for help on using the changeset viewer.