mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#539) When view is unlinked, ask user to keep either override or original range filter collection
This commit is contained in:
@@ -68,13 +68,14 @@ void RicSetMasterViewFeature::onActionTriggered(bool isChecked)
|
||||
RimProject* proj = RiaApplication::instance()->project();
|
||||
RimViewLinker* viewLinker = proj->viewLinkerCollection()->viewLinker();
|
||||
|
||||
viewLinker->applyRangeFilterCollectionByUserChoice();
|
||||
|
||||
RimView* previousMasterView = viewLinker->masterView();
|
||||
|
||||
viewLinker->setMasterView(activeView);
|
||||
viewLinker->updateDependentViews();
|
||||
|
||||
viewLinker->addDependentView(previousMasterView);
|
||||
|
||||
|
||||
proj->viewLinkerCollection.uiCapability()->updateConnectedEditors();
|
||||
proj->updateConnectedEditors();
|
||||
|
||||
Reference in New Issue
Block a user