Changeset acf8e4a5 in sasview for src/sas/perspectives/fitting/fitpage.py
- Timestamp:
- Mar 31, 2015 11:52:01 AM (10 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:
- 4342107f, c971c98
- Parents:
- 6987c8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/fitpage.py
r682c432 racf8e4a5 183 183 return True 184 184 return False 185 186 def _on_engine_change(self, name):187 """188 get the current name of the fit engine type189 and update the panel accordingly190 """191 192 self.engine_type = str(name)193 self.state.engine_type = self.engine_type194 if not self.is_mac:195 if len(self.parameters) == 0:196 self.Layout()197 return198 self.Layout()199 self.Refresh()200 185 201 186 def _fill_range_sizer(self): … … 2834 2819 self.SetupScrolling() 2835 2820 return 2836 ## the panel is drawn using the current value of the fit engine2837 if self.engine_type == None and self._manager != None:2838 self.engine_type = self._manager._return_engine_type()2839 2821 2840 2822 box_description = wx.StaticBox(self, -1, str("Model Parameters"))
Note: See TracChangeset
for help on using the changeset viewer.