Changeset 3447 for trunk/GSASIIddataGUI.py
- Timestamp:
- Jun 23, 2018 7:46:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r3436 r3447 796 796 def RepaintHistogramInfo(Scroll=0): 797 797 if 'phoenix' in wx.version(): 798 # if DData.__class__ is not wx._core.ScrolledWindow:799 # # How to determine window is closed in Phoenix?800 # return801 798 G2frame.bottomSizer.Clear(True) 799 # deal with case where this is called after another tree item has been selected 800 try: 801 DData.Shown 802 except RuntimeError: 803 if GSASIIpath.GetConfigValue('debug'): 804 print('DBG: DData window deleted. Ignoring RepaintHistogramInfo, forcing redraw') 805 # Repaint called while DData window deleted, force redraw of entire window 806 import GSASIIdataGUI 807 G2frame.PickIdText = '' 808 wx.CallLater(100,GSASIIdataGUI.SelectDataTreeItem,G2frame,G2frame.GPXtree.Selection) 809 return 802 810 else: 811 # deal with case where this is called after another tree item has been selected 803 812 if DData.__class__ is not wx._windows.ScrolledWindow: 804 813 # fix bug where this is called after the Window is deleted
Note: See TracChangeset
for help on using the changeset viewer.