Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/Create_Monte_Carlo_Ws' into Crea…
Browse files Browse the repository at this point in the history
…te_Monte_Carlo_Ws
  • Loading branch information
Despiix committed Nov 21, 2024
2 parents 491d7ce + de098bf commit c446801
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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: 3 additions & 2 deletions qt/python/mantidqt/mantidqt/dialogs/spectraselectordialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ 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(False)

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

# validity markers
ui.wkspIndicesValid.setIcon(red_asterisk())
Expand Down Expand Up @@ -548,7 +549,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(False)
self._parent._ui.buttonBox.button(QDialogButtonBox.Ok).setEnabled(True)

return valid_options

Expand Down

0 comments on commit c446801

Please sign in to comment.