mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Disable common data source in well allocation plots
(they have common data selection explicitly)
This commit is contained in:
@@ -111,6 +111,8 @@ RimWellLogPlot::RimWellLogPlot()
|
||||
|
||||
m_minAvailableDepth = HUGE_VAL;
|
||||
m_maxAvailableDepth = -HUGE_VAL;
|
||||
|
||||
m_commonDataSourceEnabled = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -483,6 +485,14 @@ void RimWellLogPlot::updateCommonDataSource()
|
||||
m_commonDataSource->updateDefaultOptions();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogPlot::setCommonDataSourceEnabled( bool enable )
|
||||
{
|
||||
m_commonDataSourceEnabled = enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -563,6 +573,10 @@ void RimWellLogPlot::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering&
|
||||
{
|
||||
RimViewWindow::defineUiOrdering( uiConfigName, uiOrdering );
|
||||
|
||||
if ( m_commonDataSourceEnabled )
|
||||
{
|
||||
m_commonDataSource->uiOrdering( uiConfigName, uiOrdering );
|
||||
}
|
||||
uiOrderingForDepthAxis( uiOrdering );
|
||||
createPlotSettingsUiGroup( uiOrdering );
|
||||
uiOrdering.skipRemainingFields( true );
|
||||
|
||||
Reference in New Issue
Block a user