mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#5125 Well measurements : Hide legend if well measurement is unchecked
This commit is contained in:
1 parent
cf15beb808
commit
0a1e6fc1d3
2 files changed
+2
-2
No files matched your search
@@ -490,7 +490,7 @@ void RimGeoMechView::onUpdateLegends()
|
||||
{
|
||||
for ( RimWellMeasurementInView* wellMeasurement : m_wellMeasurementCollection->measurements() )
|
||||
{
|
||||
if ( wellMeasurement->legendConfig()->showLegend() )
|
||||
if ( wellMeasurement->isChecked() && wellMeasurement->legendConfig()->showLegend() )
|
||||
{
|
||||
wellMeasurement->updateLegendRangesTextAndVisibility( nativeOrOverrideViewer(),
|
||||
isUsingOverrideViewer() );
|
||||
|
||||
Reference in new issue
Block a user