mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1972 Toggle grid collection off when creating an intersection
This commit is contained in:
@@ -63,13 +63,9 @@ void RicAppendIntersectionBoxFeature::onActionTriggered(bool isChecked)
|
||||
coll->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
RimView* rimView = NULL;
|
||||
coll->firstAncestorOrThisOfType(rimView);
|
||||
if (rimView)
|
||||
{
|
||||
rimView->showGridCells(false);
|
||||
rimView->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
RimView* rimView = nullptr;
|
||||
coll->firstAncestorOrThisOfTypeAsserted(rimView);
|
||||
rimView->showGridCells(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user