Changeset b9f6d83 in sasview for src/sans/perspectives


Ignore:
Timestamp:
Apr 1, 2014 7:23:29 AM (11 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
aba5876
Parents:
b099388
Message:

Re #216 Merging wx30 branch

Location:
src/sans/perspectives
Files:
8 edited

Legend:

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

    r5777106 rb9f6d83  
    2525    window_caption  = "BatchFit" 
    2626 
    27     def __init__(self, parent, color='rand'): 
     27    def __init__(self, parent, color=None): 
    2828        """  
    2929        Initialization of the Panel 
  • src/sans/perspectives/fitting/fitpage.py

    r5777106 rb9f6d83  
    3737    """ 
    3838 
    39     def __init__(self, parent, color='rand'): 
     39    def __init__(self, parent, color=None): 
    4040        """ 
    4141        Initialization of the Panel 
     
    137137                if not is_data: 
    138138                    is_data = check_data_validity(data) 
    139         self.dataSource.SetSelection(0) 
    140         self.on_select_data(event=None) 
     139        if is_data: 
     140            self.dataSource.SetSelection(0) 
     141            self.on_select_data(event=None) 
    141142                 
    142143    def on_select_data(self, event=None): 
Note: See TracChangeset for help on using the changeset viewer.