Changeset d44648e in sasview


Ignore:
Timestamp:
Apr 4, 2014 10:46:48 AM (11 years ago)
Author:
ajj
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:
da8c5dc
Parents:
6c00702
Message:

Changed fitpage to disable dropdown data list when only one entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/perspectives/fitting/fitpage.py

    rb9f6d83 rd44648e  
    140140            self.dataSource.SetSelection(0) 
    141141            self.on_select_data(event=None) 
     142 
     143        if len(data_list) == 1: 
     144            self.dataSource.Disable() 
    142145                 
    143146    def on_select_data(self, event=None): 
Note: See TracChangeset for help on using the changeset viewer.