diff --git a/src/plugins/widget/GraphPanelWidget/src/graphpanelplotwidget.cpp b/src/plugins/widget/GraphPanelWidget/src/graphpanelplotwidget.cpp index 67b1fde1a5..e82c334f91 100644 --- a/src/plugins/widget/GraphPanelWidget/src/graphpanelplotwidget.cpp +++ b/src/plugins/widget/GraphPanelWidget/src/graphpanelplotwidget.cpp @@ -2537,7 +2537,7 @@ void GraphPanelPlotWidget::setTitleAxisY(const QString &pTitleAxisY) // To change the title of our Y axis may have some effects on the alignment // with our neighbours, so update ourselves - if (axisTitle(QwtPlot::yLeft) != oldAxisTitle) { + if (axisTitle(QwtPlot::yLeft).text() != oldAxisTitle.text()) { updateGui(false, true); } }