Changeset 7d6dd6f in sasview for src/sas/qtgui
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py
r6930b91 r7d6dd6f 125 125 """Connect the buttons to their appropriate slots.""" 126 126 self.extrapolateBtn.clicked.connect(self.extrapolate) 127 self.extrapolateBtn.setEnabled(False) 127 128 self.transformBtn.clicked.connect(self.transform) 129 self.transformBtn.setEnabled(False) 128 130 129 131 self.calculateBgBtn.clicked.connect(self.calculate_background) 132 self.calculateBgBtn.setEnabled(False) 130 133 131 134 self.model.itemChanged.connect(self.model_changed) … … 186 189 self._canvas.extrap = extrapolation 187 190 self._canvas.draw_q_space() 191 self.transformBtn.setEnabled(True) 188 192 189 193 def transform(self): … … 277 281 data = GuiUtils.dataFromItem(model_item) 278 282 self._calculator.set_data(data) 283 self.calculateBgBtn.setEnabled(True) 284 self.extrapolateBtn.setEnabled(True) 279 285 280 286 self._canvas.data = data
Note: See TracChangeset
for help on using the changeset viewer.