Fixup after review

This commit is contained in:
Gaute Lindkvist 2019-09-27 11:02:03 +02:00
parent 4852f729ff
commit f3dfba7a81
2 changed files with 3 additions and 1 deletions

View File

@ -316,6 +316,8 @@ void RimWellRftPlot::updateEditorsFromPreviousSelection()
}
}
// This has to happen after the m_selectedSources is filled
// because the available time steps is dependent on the selected sources.
auto timeStepOptions = calculateValueOptions( &m_selectedTimeSteps, &dummy );
for ( auto timeStepOption : timeStepOptions )
{

View File

@ -424,7 +424,7 @@ void RiuWellLogPlot::reinsertTracks()
{
m_trackLayout->addWidget( m_legends[tIdx], 0, static_cast<int>( visibleIndex ) );
m_trackLayout->addWidget( m_trackPlots[tIdx], 1, static_cast<int>( visibleIndex ) );
m_trackLayout->setRowStretch( 1, 10 );
m_trackLayout->setRowStretch( 1, 1 );
if ( !m_plotDefinition->areTrackLegendsVisible() )
{