mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2727 Legends : Rename to RimRegularLegendConfig
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "RimEclipseCase.h"
|
||||
#include "RimEclipseView.h"
|
||||
#include "RimLegendConfig.h"
|
||||
#include "RimRegularLegendConfig.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT(RimVirtualPerforationResults, "RimVirtualPerforationResults");
|
||||
|
||||
@@ -41,7 +41,7 @@ RimVirtualPerforationResults::RimVirtualPerforationResults()
|
||||
CAF_PDM_InitFieldNoDefault(&m_legendConfig, "LegendDefinition", "Legend Definition", "", "", "");
|
||||
m_legendConfig.uiCapability()->setUiHidden(true);
|
||||
|
||||
m_legendConfig = new RimLegendConfig();
|
||||
m_legendConfig = new RimRegularLegendConfig();
|
||||
m_legendConfig->setTitle(connectionFactorUiName);
|
||||
|
||||
// clang-format on
|
||||
@@ -71,7 +71,7 @@ double RimVirtualPerforationResults::geometryScaleFactor() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimLegendConfig* RimVirtualPerforationResults::legendConfig() const
|
||||
RimRegularLegendConfig* RimVirtualPerforationResults::legendConfig() const
|
||||
{
|
||||
return m_legendConfig();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user