Changeset 1467e1a6 in sasview for sansview/perspectives/fitting/basepage.py
- Timestamp:
- Aug 31, 2009 11:26:06 AM (15 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:
- b7a25a7e
- Parents:
- ab62adb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r30d103a r1467e1a6 1087 1087 break 1088 1088 break 1089 ## save state and post 1090 1091 1092 1089 1090 1093 1091 def _draw_model(self): 1094 1092 """ … … 1401 1399 def _set_dipers_Param(self, event): 1402 1400 """ 1403 Add more item to select user dispersity 1404 """ 1401 respond to self.enable_disp and self.disable_disp radio box. 1402 The dispersity object is reset inside the model into Gaussian. 1403 When the user select yes , this method display a combo box for more selection 1404 when the user selects No,the combo box disappears. 1405 Redraw the model with the default dispersity (Gaussian) 1406 """ 1407 1405 1408 self._reset_dispersity() 1406 1409 1407 1410 if self.model ==None: 1408 1411 self.model_disp.Hide() 1409 1412 self.disp_box.Hide() 1410 1413 self.sizer4_4.Clear(True) 1411 ## save the state of the dispersity 1412 #self.save_current_state() 1414 1413 1415 return 1414 1416 … … 1437 1439 event = PageInfoEvent(page = self) 1438 1440 wx.PostEvent(self.parent, event) 1439 1441 #draw the model with the current dispersity 1440 1442 self._draw_model() 1441 1443 self.sizer4_4.Layout() … … 1506 1508 pass 1507 1509 # Redraw the model 1508 self._draw_model()1510 #self._draw_model() 1509 1511 ## save state into 1510 1512 self.save_current_state()
Note: See TracChangeset
for help on using the changeset viewer.