Changeset ad8f0d0 in sasview
- Timestamp:
- Sep 15, 2009 9:51:44 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:
- 08ba57d
- Parents:
- 0ab485b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r7ad6ff5 rad8f0d0 339 339 340 340 if self.disp_cb_dict[p].GetValue() == True: 341 342 ##Temp. FIX for V1.0 regarding changing checkbox to radiobutton. 343 ##This (self._reset_dispersity) should be removed when the array dispersion is fixed. 344 self._reset_dispersity() 345 341 346 # The user wants this parameter to be averaged. 342 347 # Pop up the file selection dialog. … … 1579 1584 if not p in self.model.orientation_params: 1580 1585 ix+=1 1581 self.disp_cb_dict[p] = wx. CheckBox(self, -1, p, (10, 10))1586 self.disp_cb_dict[p] = wx.RadioButton(self, -1, p, (10, 10)) 1582 1587 self.state.disp_cb_dict[p]= self.disp_cb_dict[p].GetValue() 1583 1588 1584 wx.EVT_ CHECKBOX(self, self.disp_cb_dict[p].GetId(), self.select_disp_angle)1589 wx.EVT_RADIOBUTTON(self, self.disp_cb_dict[p].GetId(), self.select_disp_angle) 1585 1590 self.sizer4_4.Add(self.disp_cb_dict[p], (iy, ix), (1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 1586 1591 for p in self.model.dispersion.keys():
Note: See TracChangeset
for help on using the changeset viewer.