[TD]fix showSectionEdge preference

This commit is contained in:
wandererfan
2020-08-09 11:55:48 -04:00
committed by WandererFan
parent 50aa73da9d
commit abd18ff88f
5 changed files with 16 additions and 17 deletions

View File

@@ -869,6 +869,14 @@ int DrawViewSection::prefCutSurface(void) const
return result;
}
bool DrawViewSection::showSectionEdges(void)
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/General");
return (hGrp->GetBool("ShowSectionEdges", true));
}
void DrawViewSection::onDocumentRestored()
{
// Base::Console().Message("DVS::onDocumentRestored()\n");