mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-13 01:26:19 -06:00
#2356 grid statistics dialog. Display of Mobile Volume Weighted Mean controlled by info box property
This commit is contained in:
1 parent
84725ced9b
commit
ca3bb02c57
3 files changed
+5
-5
No files matched your search
@@ -204,12 +204,12 @@ QString Rim3dOverlayInfoConfig::caseInfoText()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, bool showVolumeWeightedMean)
|
||||
QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData)
|
||||
{
|
||||
auto eclipseView = dynamic_cast<RimEclipseView*>(m_viewDef.p());
|
||||
auto geoMechView = dynamic_cast<RimGeoMechView*>(m_viewDef.p());
|
||||
|
||||
if (eclipseView) return resultInfoText(histData, eclipseView, showVolumeWeightedMean);
|
||||
if (eclipseView) return resultInfoText(histData, eclipseView, showVolumeWeightedMean());
|
||||
if (geoMechView) return resultInfoText(histData, geoMechView);
|
||||
return "";
|
||||
}
|
||||
@@ -755,7 +755,7 @@ void Rim3dOverlayInfoConfig::updateEclipse3DInfo(RimEclipseView * eclipseView)
|
||||
|
||||
if (showResultInfo())
|
||||
{
|
||||
infoText += resultInfoText(histData, showVolumeWeightedMean());
|
||||
infoText += resultInfoText(histData);
|
||||
}
|
||||
|
||||
if (!infoText.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user