mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#829 Update display and pick information when reloading / selecting a formation names file
This commit is contained in:
@@ -50,6 +50,11 @@ void RicReloadFormationNamesFeature::onActionTriggered(bool isChecked)
|
||||
if (selectedFormationNamesCollObjs.size())
|
||||
{
|
||||
selectedFormationNamesCollObjs[0]->readAllFormationNames();
|
||||
for(RimFormationNames* fnames: selectedFormationNamesCollObjs[0]->formationNamesList())
|
||||
{
|
||||
fnames->updateConnectedViews();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -58,6 +63,7 @@ void RicReloadFormationNamesFeature::onActionTriggered(bool isChecked)
|
||||
for (RimFormationNames* fnames: selectedFormationNamesObjs)
|
||||
{
|
||||
fnames->readFormationNamesFile(nullptr);
|
||||
fnames->updateConnectedViews();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user