Ignore:
Timestamp:
Jun 25, 2018 9:50:21 AM (5 years ago)
Author:
vondreele
Message:

put a check on existence of "dataWindow" before clearing it - line 7639 in SelectDataTreeItem? (G2dataGUI). Avoids a missing window crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3448 r3450  
    76377637       
    76387638    # clear out the old panel contents
    7639     G2frame.dataWindow.ClearData()
     7639    if G2frame.dataWindow:
     7640        G2frame.dataWindow.ClearData()
     7641#    G2frame.dataWindow.ClearData()
    76407642    # process first-level entries in tree
    76417643    if G2frame.GPXtree.GetItemParent(item) == G2frame.root:
Note: See TracChangeset for help on using the changeset viewer.