[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

@@ -96,8 +96,7 @@ App::Color LineFormat::getDefEdgeColor()
int LineFormat::getDefEdgeStyle()
{
int style = Preferences::getPreferenceGroup("Decorations")->GetInt("CosmoCLStyle", 2); //dashed
return style;
return Preferences::getPreferenceGroup("Decorations")->GetInt("CosmoCLStyle", 2); //dashed
}
//******************************************