mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4385 Well Allocation: Fix missing x-axis units
This commit is contained in:
parent
8ce19c742e
commit
e2686b28e6
@ -130,9 +130,9 @@ void RiuWellLogTrack::setDepthTitle(const QString& title)
|
||||
void RiuWellLogTrack::setXTitle(const QString& title)
|
||||
{
|
||||
QwtText axisTitleX = axisTitle(QwtPlot::xTop);
|
||||
axisTitleX.setText(title);
|
||||
if (title != axisTitleX.text())
|
||||
{
|
||||
axisTitleX.setText(title);
|
||||
setAxisTitle(QwtPlot::xTop, axisTitleX);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user