Skip to content

Commit 920627b

Browse files
Merge pull request #1067 from mantidproject/39285_fix_width_problem
Fix for bug in width calculation
2 parents dc35905 + f113c2b commit 920627b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mslice/widgets/cut/cut.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def get_integration_end(self):
146146
return str(self.lneCutIntegrationEnd.text())
147147

148148
def get_integration_width(self):
149+
if self.lneCutIntegrationWidth.text() == "":
150+
return None
149151
return str(self.lneCutIntegrationWidth.text())
150152

151153
def get_intensity_start(self):

0 commit comments

Comments
 (0)