mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5766 Hide well disk labels when simulation well labels are turned off.
This commit is contained in:
parent
6702f21097
commit
0be429e0fe
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user