mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6164 Color Legend : Use defines for UI text used multiple times
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "RiuQwtPlotWidget.h"
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaFractureDefines.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
|
||||
@@ -212,7 +213,7 @@ void RimElasticPropertiesCurve::performDataExtraction( bool* isUsingPseudoLength
|
||||
fractureModelPlot->getPorosityValues( poroValues );
|
||||
|
||||
// TODO: make this settable??
|
||||
QString colorLegendName = "Facies colors";
|
||||
QString colorLegendName = RiaDefines::faciesColorLegendName();
|
||||
RimColorLegend* colorLegend = RimProject::current()->colorLegendCollection()->findByName( colorLegendName );
|
||||
if ( !colorLegend )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user