Skip to content

Commit 114b415

Browse files
committed
Fix name typo in the UI option
1 parent c018f74 commit 114b415

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Framework/CurveFitting/src/Algorithms/PlotPeakByLogValueHelper.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,9 @@ void appendInputSpectraToList(std::vector<InputSpectraToFit> &nameList, const st
169169
} else {
170170
for (size_t i = 0; i < axis->length(); ++i) {
171171
int j = axis->spectraNo(i);
172+
int wsIdx = static_cast<int>(i);
172173
if (j == spectrumNumber) {
173-
nameList.emplace_back(name, i, j, -1, period, mws);
174+
nameList.emplace_back(name, wsIdx, j, -1, period, mws);
174175
break;
175176
}
176177
}

qt/widgets/common/inc/MantidQtWidgets/Common/SequentialFitDialog.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
<bool>false</bool>
182182
</property>
183183
<property name="text">
184-
<string>Output spectrum vs params</string>
184+
<string>Output workspace index vs params</string>
185185
</property>
186186
</widget>
187187
</item>
@@ -244,7 +244,7 @@
244244
<string>Range</string>
245245
</property>
246246
<property name="toolTip">
247-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Sets a range of values on the numeric axis (spectum number incase of a spectra axis) associated with the workspace index. The range is specfied by a start value and an end value and separated by a colon e.g. 2:5&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
247+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Sets a range of values on the numeric axis (spectrum number incase of a spectra axis) associated with the workspace index. The range is specfied by a start value and an end value and separated by a colon e.g. 2:5&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
248248
</property>
249249
</column>
250250
</widget>

0 commit comments

Comments
 (0)