#5355 Phase Distribution Plots : Hide plot legend in multi plot mode

This commit is contained in:
Magne Sjaastad 2020-01-24 10:41:16 +01:00
parent e8d832343e
commit 2a9af029b8

View File

@ -160,8 +160,8 @@ void RimWellDistributionPlot::updateLegend()
return;
}
// For now we always show the legend when in multiplot mode
bool doShowLegend = true;
// Hide the legend when in multiplot mode, as the legend is handeled by the multi plot grid layout
bool doShowLegend = false;
if ( isMdiWindow() )
{
doShowLegend = m_showPlotLegends;