mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 15:41:00 -05:00
Refactors selection handling for improved code clarity
Modernize the interface to selection system. Create and return data instead of populating incoming parameters.
This commit is contained in:
1 parent
380f559f0d
commit
ae8446073b
136 files changed
+357
-870
No files matched your search
@@ -1520,10 +1520,7 @@ void RiaGuiApplication::applyGuiPreferences( const RiaPreferences*
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<caf::PdmUiItem*> uiEditorsToUpdate;
|
||||
caf::SelectionManager::instance()->selectedItems( uiEditorsToUpdate );
|
||||
|
||||
for ( caf::PdmUiItem* uiItem : uiEditorsToUpdate )
|
||||
for ( caf::PdmUiItem* uiItem : caf::SelectionManager::instance()->selectedItems() )
|
||||
{
|
||||
uiItem->updateConnectedEditors();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user