diff --git a/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp b/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp index 97b26c8d03..242880cc65 100644 --- a/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp +++ b/ApplicationCode/UserInterface/RiuPlotAnnotationTool.cpp @@ -54,9 +54,13 @@ void RiuPlotAnnotationTool::attachFormationNames(QwtPlot* plot, const std::vecto line->setLineStyle(QwtPlotMarker::HLine); line->setLinePen(curvePen); line->setYValue(yPositions[i].first); - QString name = "Top "; - name += names[i]; + QString name = names[i]; + if (names[i].toLower().indexOf("top") == -1) + { + name += " top"; + } + line->setLabel(name); line->setLabelAlignment(Qt::AlignRight | Qt::AlignBottom);