#1520 Establish new result type 'Completion Type'

This commit is contained in:
Bjørnar Grip Fjær
2017-05-31 16:16:28 +02:00
parent 8a937116e5
commit b20a563517
22 changed files with 341 additions and 82 deletions

View File

@@ -97,14 +97,14 @@ void RimFishboneWellPathCollection::appendCompletion(RimFishboneWellPath* comple
updateConnectedEditors();
RiuMainWindow::instance()->selectAsCurrentItem(completion);
RimView* rimView = NULL;
firstAncestorOrThisOfType(rimView);
if (rimView)
{
rimView->scheduleCreateDisplayModelAndRedraw();
}
uiCapability()->setUiHidden(!m_wellPaths.empty());
RimProject* project = NULL;
firstAncestorOrThisOfTypeAsserted(project);
if (project)
{
project->removeResult(RimDefines::DYNAMIC_NATIVE, RimDefines::completionTypeResultName());
}
}
//--------------------------------------------------------------------------------------------------