Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
4913452a
Commit
4913452a
authored
Sep 07, 2020
by
Mathieu Tillet
Browse files
Fix minor style issues
parent
531c9612
Changes
2
Hide whitespace changes
Inline
Side-by-side
qt/widgets/instrumentview/src/InstrumentWidget.cpp
View file @
4913452a
...
...
@@ -423,7 +423,7 @@ QString InstrumentWidget::getSaveFileName(const QString &title,
* Update the info text displayed at the bottom of the window.
*/
void
InstrumentWidget
::
updateInfoText
(
const
QString
&
text
)
{
if
(
text
.
length
()
==
0
)
{
if
(
text
.
isEmpty
()
)
{
setInfoText
(
getSurfaceInfoText
());
}
else
{
setInfoText
(
text
);
...
...
qt/widgets/instrumentview/src/InstrumentWidgetMaskTab.cpp
View file @
4913452a
...
...
@@ -581,10 +581,10 @@ void InstrumentWidgetMaskTab::singlePixelPicked(size_t pickID) {
QString
(
"Pixel %0 picked for grouping"
).
arg
(
pickID
));
}
else
if
(
m_tube
->
isChecked
())
{
std
::
s
tring
message
=
"Parent "
+
componentInfo
.
componentID
(
parent
)
->
getName
()
+
" picked for grouping"
;
m_instrWidget
->
updateInfoText
(
QString
::
fromStdString
(
message
)
)
;
QS
tring
message
=
QString
(
"Component %0 picked for grouping"
)
.
arg
(
QString
::
fromStdString
(
componentInfo
.
componentID
(
parent
)
->
getName
()))
;
m_instrWidget
->
updateInfoText
(
message
);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment