mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Allow drag'n'drop of realizations into summary plots
Improve "Create Summary Case Group" feature to not delete selected realizations from the source collection.
This commit is contained in:
@@ -1005,10 +1005,13 @@ void RimSummaryCaseCollection::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiT
|
||||
}
|
||||
m_dataVectorFolders->updateUiTreeOrdering( uiTreeOrdering );
|
||||
|
||||
auto subnode = uiTreeOrdering.add( "Realizations", ":/Folder.png" );
|
||||
for ( auto& smcase : m_cases )
|
||||
if ( !m_cases.empty() )
|
||||
{
|
||||
subnode->add( smcase );
|
||||
auto subnode = uiTreeOrdering.add( "Realizations", ":/Folder.png" );
|
||||
for ( auto& smcase : m_cases )
|
||||
{
|
||||
subnode->add( smcase );
|
||||
}
|
||||
}
|
||||
|
||||
uiTreeOrdering.skipRemainingChildren( true );
|
||||
|
||||
Reference in New Issue
Block a user