Skip to content

Commit

Permalink
corrects issue where Qmin was not auto updated with change in QMax
Browse files Browse the repository at this point in the history
  • Loading branch information
smalex-z committed Jun 29, 2023
1 parent 8eda8b6 commit 4dab418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sas/qtgui/Calculators/GenericScatteringCalculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def gui_text_changed(self, sender):
else:
self.txtQxMax.setStyleSheet(self.TEXTBOX_DEFAULT_STYLESTRING)
#if 2D scattering, program sets qmin to -qmax
if self.is_avg:
if not self.is_avg:
self.txtQxMin.setText(str(-value))
elif sender == self.txtQxMin:
xstepsize = float(self.txtXstepsize.text())
Expand Down

0 comments on commit 4dab418

Please sign in to comment.