Minor formation gui update

This commit is contained in:
Rebecca Cox 2017-11-28 11:44:47 +01:00
parent d48113dcdb
commit 8cfb983b15
2 changed files with 3 additions and 1 deletions

View File

@ -319,6 +319,7 @@ RimWellLogFile* RimWellPathCollection::addWellLogs(const QStringList& filePaths)
} }
wellPath->addWellLogFile(logFileInfo); wellPath->addWellLogFile(logFileInfo);
m_newestAddedWellName = wellPath->name();
} }
} }
@ -347,6 +348,7 @@ void RimWellPathCollection::addWellPathFormations(const QStringList& filePaths)
wellPaths.push_back(wellPath); wellPaths.push_back(wellPath);
} }
wellPath->setFormationsGeometry(it->second); wellPath->setFormationsGeometry(it->second);
m_newestAddedWellName = wellPath->name();
} }
} }

View File

@ -58,7 +58,7 @@ void RiuPlotAnnotationTool::attachFormationNames(QwtPlot* plot, const std::vecto
QString name = names[i]; QString name = names[i];
if (names[i].toLower().indexOf("top") == -1) if (names[i].toLower().indexOf("top") == -1)
{ {
name += " top"; name += " Top";
} }
line->setLabel(name); line->setLabel(name);