Make plot titles work well in RFT/PLT again

This commit is contained in:
Gaute Lindkvist
2019-09-05 08:21:31 +02:00
parent e6a92cc3be
commit c0f7f4e056
3 changed files with 5 additions and 6 deletions

View File

@@ -583,9 +583,11 @@ void RimWellLogPlot::uiOrderingForDepthAxis(caf::PdmUiOrdering& uiOrdering)
void RimWellLogPlot::uiOrderingForPlotSettings(caf::PdmUiOrdering& uiOrdering)
{
caf::PdmUiGroup* titleAndLegendsGroup = uiOrdering.addNewGroup("Title and Legends");
titleAndLegendsGroup->add(&m_showTitleInPlot);
titleAndLegendsGroup->add(&m_showTrackLegends);
titleAndLegendsGroup->add(&m_trackLegendsHorizontal);
titleAndLegendsGroup->add(&m_showTitleInPlot);
m_nameConfig->uiOrdering("", *titleAndLegendsGroup);
}
@@ -747,9 +749,6 @@ void RimWellLogPlot::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
uiOrderingForDepthAxis(uiOrdering);
uiOrderingForPlotSettings(uiOrdering);
caf::PdmUiGroup* nameGroup = uiOrdering.addNewGroup("Plot Name");
m_nameConfig->uiOrdering(uiConfigName, *nameGroup);
uiOrdering.skipRemainingFields(true);
}