mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6222 Make cursor tracker readable in well log plot.
This commit is contained in:
parent
4be622b229
commit
45d641f348
@ -61,11 +61,11 @@ protected:
|
||||
closestCurvePoint( pos, &curveInfoText, &xAxisValueString, &depthAxisValueString, &relatedXAxis, &relatedYAxis );
|
||||
if ( !closestPoint.isNull() )
|
||||
{
|
||||
QString str = QString( "depth = %1, value = %2" ).arg( depthAxisValueString ).arg( xAxisValueString );
|
||||
QString str = QString( "%1\nDepth: %2" ).arg( xAxisValueString ).arg( depthAxisValueString );
|
||||
|
||||
if ( !curveInfoText.isEmpty() )
|
||||
{
|
||||
str = QString( "%1: " ).arg( curveInfoText ) + str;
|
||||
str = QString( "%1:\n" ).arg( curveInfoText ) + str;
|
||||
}
|
||||
|
||||
txt.setText( str );
|
||||
|
Loading…
Reference in New Issue
Block a user