Changeset 8ae522c in sasview for sansguiframe/src


Ignore:
Timestamp:
Jan 25, 2012 5:43:43 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
0e62f0f
Parents:
b5b2e5b
Message:

fixed a problem(quick plot) after 2D averaging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_panel.py

    r0b705915 r8ae522c  
    385385        Get data selection from the right click 
    386386        """ 
     387        data = None 
    387388        selection = event.GetSelection() 
    388389        id, _, _ = self.FindFocus().GetSelection().GetData() 
     
    391392        if data_list: 
    392393            data = data_list.values()[0] 
    393         else: 
     394        if data == None: 
    394395            data = theory_list.values()[0][0] 
    395396        return data 
Note: See TracChangeset for help on using the changeset viewer.