Changeset 9e87b76 in sasview


Ignore:
Timestamp:
Jun 16, 2011 4:52:35 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:
e4231e0
Parents:
ead78a4
Message:

remove layout on engine changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    rbdc25e2 r9e87b76  
    8686        self.engine_type = str(name) 
    8787        self.state.engine_type = self.engine_type 
    88         if len(self.parameters) == 0: 
     88        if not self.is_mac: 
     89            if len(self.parameters) == 0: 
     90                self.Layout() 
     91                return 
    8992            self.Layout() 
    90             return 
    91         self.Layout() 
    92         self.Refresh() 
     93            self.Refresh() 
    9394         
    9495   
Note: See TracChangeset for help on using the changeset viewer.