diff --git a/src/sas/qtgui/Perspectives/Inversion/InversionWidget.py b/src/sas/qtgui/Perspectives/Inversion/InversionWidget.py index 62a4ec9f77..25f0ef2aa9 100644 --- a/src/sas/qtgui/Perspectives/Inversion/InversionWidget.py +++ b/src/sas/qtgui/Perspectives/Inversion/InversionWidget.py @@ -233,6 +233,10 @@ def setupLinks(self): lambda: self._calculator.set_alpha(is_float(self.regularizationConstantInput.text()))) self.maxDistanceInput.textChanged.connect( lambda: self._calculator.set_dmax(is_float(self.maxDistanceInput.text()))) + + self.noOfSlicesInput.editingFinished.connect(self.updateSlicerParams) + self.startAngleInput.editingFinished.connect(self.updateSlicerParams) + self.noOfQbinsInput.editingFinished.connect(self.updateSlicerParams) # Signals asking for replot self.maxQInput.editingFinished.connect(self.check_q_high) @@ -478,12 +482,7 @@ def updateTab(self, data = None, is2D=False, tab_index=None): self.plot2D.id=self.logic.data.name self.plot2D.onSectorView() self.updateSlicerParams() - - #self.plot2D.onSectorView() - # - #self.setSlicerParams() - else: #1D data self.logic.add_errors() self.setQ()