Changeset 054f004 in sasview


Ignore:
Timestamp:
Oct 21, 2011 11:32:53 AM (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:
9cec2dd
Parents:
f3f6746
Message:

mask button disabled for batch

Location:
fittingview/src/sans/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/basepage.py

    r94078a8 r054f004  
    14471447            else: 
    14481448                #self.btFit.Enable(True) 
    1449                 if is_2Ddata: self.btEditMask.Enable(True) 
     1449                if is_2Ddata  and not self.batch_on:  
     1450                    self.btEditMask.Enable(True) 
    14501451            if is_modified and self.fitrange: 
    14511452                #if self.data == None: 
     
    15441545        else: 
    15451546            #self.btFit.Enable(True) 
    1546             if self._is_2D() and  self.data != None: 
     1547            if self._is_2D() and  self.data != None and not self.batch_on: 
    15471548                self.btEditMask.Enable(True) 
    15481549 
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    rf3f6746 r054f004  
    13261326            self.slit_smearer.Enable(False) 
    13271327            self.pinhole_smearer.Enable(False) 
     1328            self.btEditMask.Disable()   
     1329            self.EditMask_title.Disable() 
    13281330             
    13291331        self.Show(True)       
Note: See TracChangeset for help on using the changeset viewer.