#5766 Hide well disk labels when simulation well labels are turned off.

This commit is contained in:
Kristian Bendiksen 2020-04-06 14:49:00 +02:00 committed by Gaute Lindkvist
parent 5b1e75d259
commit e5eb2063be

View File

@ -357,9 +357,7 @@ void RivWellDiskPartMgr::buildWellDiskParts( size_t frameIndex, const caf::Displ
}
}
bool showTextLabels = simWellInViewCollection()->showWellDiskQuantityLables() ||
( well->showWellLabel() && well->showWellDisks() && !well->name().isEmpty() );
bool showTextLabels = well->showWellLabel() && well->showWellDisks() && !well->name().isEmpty();
if ( showTextLabels )
{
cvf::Font* font = RiaGuiApplication::instance()->defaultWellLabelFont();