Changeset 1a74523 in sasview for sansview/perspectives
- Timestamp:
- Apr 18, 2011 11:48:37 AM (14 years ago)
- 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:
- 0c68c27
- Parents:
- ba1f0b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
rba1f0b2 r1a74523 1176 1176 else: 1177 1177 self.fitrange = False 1178 1178 1179 1179 ## if any value is modify draw model with new value 1180 1180 if not self.fitrange: … … 1184 1184 #self.btFit.Enable(True) 1185 1185 if is_2Ddata: self.btEditMask.Enable(True) 1186 1187 1186 if is_modified and self.fitrange: 1187 if self.data == None: 1188 # Theory case: need to get npts value to draw 1189 self.npts_x = float(self.Npts_total.GetValue()) 1188 1190 self.state_change= True 1189 1191 self._draw_model() … … 1257 1259 flag = True 1258 1260 if self._is_2D(): 1259 # only 2D case set mask 1261 # only 2D case set mask 1260 1262 flag = self._validate_Npts() 1261 1263 if not flag: … … 1911 1913 #default flag 1912 1914 flag = True 1915 # Theory 1916 if self.data == None and self.enable2D: 1917 return flag 1913 1918 1914 1919 # q value from qx and qy
Note: See TracChangeset
for help on using the changeset viewer.