Changeset 9ce69ec in sasview for src/sas/qtgui/Utilities/GuiUtils.py


Ignore:
Timestamp:
Sep 18, 2018 3:51:44 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
fc5d2d7f
Parents:
1738173
git-author:
Piotr Rozyczko <rozyczko@…> (09/18/18 03:42:03)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/18/18 03:51:44)
Message:

Replaced 'smart' plot generation with explicit plot requests on "Show Plot". SASVIEW-1018

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/GuiUtils.py

    ra54bbf2b r9ce69ec  
    567567    The assumption - data stored in SasView standard, in child 0 
    568568    """ 
    569     return item.child(0).data() 
     569    try: 
     570        data = item.child(0).data() 
     571    except AttributeError: 
     572        data = None 
     573    return data 
    570574 
    571575def openLink(url): 
Note: See TracChangeset for help on using the changeset viewer.