diff --git a/src/sas/sasgui/perspectives/fitting/basepage.py b/src/sas/sasgui/perspectives/fitting/basepage.py index 8e7108b242..55ce493865 100644 --- a/src/sas/sasgui/perspectives/fitting/basepage.py +++ b/src/sas/sasgui/perspectives/fitting/basepage.py @@ -2883,11 +2883,11 @@ def _on_mag_on(self, event): if button.GetLabel().count('ON') > 0: self.magnetic_on = True button.SetLabel("Magnetic OFF") - m_value = 1.0e-06 + m_value = 1 for key in self.model.magnetic_params: if key.count('M0') > 0: self.model.setParam(key, m_value) - m_value += 0.5e-06 + m_value += 0.5 else: self.magnetic_on = False button.SetLabel("Magnetic ON") @@ -3866,4 +3866,4 @@ def _silent_kill_focus(self, event): """ event.Skip() - # pass \ No newline at end of file + # pass