Changeset 2d34d55 in sasview for fittingview
- Timestamp:
- Oct 22, 2011 11:39:52 PM (13 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:
- 96683dc
- Parents:
- db8590a
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
rdb8590a r2d34d55 634 634 self.Show(False) 635 635 name = menu.GetLabel(event.GetId()) 636 self._on_select_model_helper( )636 self._on_select_model_helper(reset=True) 637 637 if name in self.saved_states.keys(): 638 638 previous_state = self.saved_states[name] -
fittingview/src/sans/perspectives/fitting/fitpage.py
rdb8590a r2d34d55 1213 1213 """ 1214 1214 self.Show(False) 1215 copy_flag = ''1215 copy_flag = False 1216 1216 is_poly_enabled = None 1217 1217 if event != None: … … 1255 1255 #self._set_save_flag(True) 1256 1256 # Reset smearer, model and data 1257 #self._set_smear(self.data) 1257 if not copy_flag: 1258 self.disable_smearer.SetValue(True) 1259 self.enable_smearer.SetValue(False) 1258 1260 1259 1261 # more disables for 2D … … 1318 1320 if copy_flag: 1319 1321 self.get_paste_params(copy_flag) 1322 wx.CallAfter(self._onDraw, None) 1320 1323 1321 wx.CallAfter(self._onDraw, None)1322 1324 else: 1323 1325 wx.CallAfter(self._draw_model)
Note: See TracChangeset
for help on using the changeset viewer.