#1494 Fishbones : When creating new fishbone, create only one sub

This commit is contained in:
Magne Sjaastad
2017-05-19 08:38:55 +02:00
parent f6946e7130
commit ac6d9b9d55

View File

@@ -48,7 +48,7 @@ void RicNewFishbonesSubsAtMeasuredDepthFeature::onActionTriggered(bool isChecked
obj->setName(QString("Fishbones Subs (%1)").arg(wellPath->fishbonesSubs.size()));
int integerValue = wellPathSelItem->m_measuredDepth;
obj->setMeasuredDepthAndCount(integerValue, 24, 5);
obj->setMeasuredDepthAndCount(integerValue, 24, 1);
wellPath->updateConnectedEditors();
RiuMainWindow::instance()->selectAsCurrentItem(obj);