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

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2020-04-07 08:42:29 +02:00
1 parent 6702f21097
commit 0be429e0fe
1 file changed
+1 -3
@@ -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();