mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
pre-proto - Automatically selecting new features after creation
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "RivWellPathSourceInfo.h"
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
#include "RiuSelectionManager.h"
|
||||
#include "RiuViewer.h"
|
||||
|
||||
@@ -79,8 +80,9 @@ void RicNewWellPathFractureAtPosFeature::onActionTriggered(bool isChecked)
|
||||
fracture->name = "New Well Path Fracture";
|
||||
fracture->positionAtWellpath = wellPathItem->m_pipeCenterlineIntersectionInDomainCoords;
|
||||
fracture->measuredDepth = wellPathItem->m_measuredDepth;
|
||||
fractureCollection->updateConnectedEditors();
|
||||
|
||||
fractureCollection->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(fracture);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user