#1597 Hide completions for well paths that have none, and enable commands to add new ones on well path directly

This commit is contained in:
Bjørnar Grip Fjær
2017-06-16 15:36:59 +02:00
parent 95ef92a9af
commit d5d7625864
6 changed files with 98 additions and 12 deletions

View File

@@ -366,7 +366,11 @@ void RimWellPath::defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, Q
{
uiTreeOrdering.skipRemainingChildren(true);
uiTreeOrdering.add(&m_wellLogFile);
uiTreeOrdering.add(&m_completions);
if (m_completions->hasCompletions())
{
uiTreeOrdering.add(&m_completions);
}
}
//--------------------------------------------------------------------------------------------------