Skip to content

Commit a58674b

Browse files
committed
Added change to presenter
1 parent ceec683 commit a58674b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mantidimaging/gui/windows/operations/presenter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,9 @@ def _post_filter(self, updated_stacks: list[ImageStack], task):
275275
# otherwise check with user which one to keep
276276
if self.view.safeApply.isChecked():
277277
use_new_data = self._wait_for_stack_choice(stack, stack.id)
278-
# if the stack that was kept happened to have a proj180 stack - then apply the filter to that too
279-
if stack.has_proj180deg() and use_new_data and not self.applying_to_all:
278+
# if the stack that was kept happened to have a proj180 stack - then apply the filter to that too
279+
if stack.has_proj180deg() and use_new_data and not self.applying_to_all:
280+
if self.model.selected_filter.allow_for_180_projection:
280281
# Apply to proj180 synchronously - this function is already running async
281282
# and running another async instance causes a race condition in the parallel module
282283
# where the shared data can be removed in the middle of the operation of another operation

0 commit comments

Comments
 (0)