mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Adjustments related to user course
* #10285 Grid Cross Plot: Fix group highlighting * #9329 Make Show plot data more robust * Do not show the curve color tag for grid cross plot curves * #10310 Add tab to show plot data for well log curves
This commit is contained in:
@@ -369,6 +369,15 @@ void RicShowPlotDataFeature::getSelection( std::vector<RimPlotWindow*>& selectio
|
||||
|
||||
if ( selection.empty() )
|
||||
{
|
||||
caf::SelectionManager::instance()->objectsByType( &selection );
|
||||
auto selectedObjects = caf::selectedObjectsByType<caf::PdmObject*>();
|
||||
for ( auto obj : selectedObjects )
|
||||
{
|
||||
if ( !obj ) continue;
|
||||
|
||||
if ( auto plotWindow = obj->firstAncestorOrThisOfType<RimPlotWindow>() )
|
||||
{
|
||||
selection.push_back( plotWindow );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user