Changeset 1d490fd in sasview for calculatorview/src/sans


Ignore:
Timestamp:
Sep 4, 2012 12:56:58 PM (12 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:
6057915
Parents:
e558e0b
Message:

data operator panel (MAC): data_list combobox updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/src/sans/perspectives/calculator/data_operator.py

    r6e48fd0 r1d490fd  
    465465            event.Skip() 
    466466        self._data = self.get_datalist() 
    467         children = self.GetChildren() 
    468         # update the list only when it is on the top 
    469         if self.FindFocus() in children: 
     467        if ON_MAC: 
    470468            self.fill_data_combox() 
     469        else: 
     470            children = self.GetChildren() 
     471            # update the list only when it is on the top 
     472            if self.FindFocus() in children: 
     473                self.fill_data_combox() 
    471474          
    472475    def fill_oprator_combox(self): 
Note: See TracChangeset for help on using the changeset viewer.