#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 Magne Sjaastad
parent 6702f21097
commit 0be429e0fe

View File

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