Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mantidproject/mantid
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c446801d0bf179a1cd072f3be819b4f50d6ed097
Choose a base ref
..
head repository: mantidproject/mantid
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 491d7cec175fe46ca1e32d5f06c4186ec58e9e58
Choose a head ref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- New algorithm that creates a randomly simulated workspace by sampling from the probability distribution of input data.
- New algorithm that creates a randomly simulated workspace by sampling from the probability distribution of input data.
5 changes: 2 additions & 3 deletions qt/python/mantidqt/mantidqt/dialogs/spectraselectordialog.py
Original file line number Diff line number Diff line change
@@ -169,8 +169,7 @@ def _init_ui(self):
# overwrite the "Yes to All" button text
ui.buttonBox.button(QDialogButtonBox.YesToAll).setText("Plot All")
# ok disabled by default

ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(True)
ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)

# validity markers
ui.wkspIndicesValid.setIcon(red_asterisk())
@@ -549,7 +548,7 @@ def _validate_custom_logs(self, text: str, plot_all: bool = False) -> Union[bool
if self._parent._ui.specNums.text() or self._parent._ui.wkspIndices.text():
self._parent._ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(True)
else:
self._parent._ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(True)
self._parent._ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)

return valid_options