[TechDraw] Simplify return logic

This commit is contained in:
Benjamin Bræstrup Sayoc
2023-04-09 16:34:23 +02:00
committed by WandererFan
parent 5d05acc87e
commit 3794897699
14 changed files with 20 additions and 42 deletions

View File

@@ -1192,7 +1192,7 @@ int DrawViewSection::prefCutSurface(void) const
bool DrawViewSection::showSectionEdges(void)
{
return (Preferences::getPreferenceGroup("General")->GetBool("ShowSectionEdges", true));
return Preferences::getPreferenceGroup("General")->GetBool("ShowSectionEdges", true);
}
bool DrawViewSection::trimAfterCut() const { return TrimAfterCut.getValue(); }