Skip to content

Commit

Permalink
Set Default Filter Name if Filter Disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
JackEAllen committed May 29, 2024
1 parent 392e8d2 commit 56e167a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mantidimaging/gui/windows/recon/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,11 @@ def algorithm_name(self) -> str:

@property
def filter_name(self) -> str:
return self.filterName.currentText()
if not self.filterName.isEnabled():
self.filterName.currenText = ""
return self.filterName.currentText()
else:
return self.filterName.currentText()

@property
def num_iter(self) -> int:
Expand Down

0 comments on commit 56e167a

Please sign in to comment.