Fix SectionLine preference location

This commit is contained in:
wandererfan
2018-12-10 09:12:51 -03:00
committed by Yorik van Havre
parent 0caa169eb0
commit 1d8cc22ed4
+1 -1
View File
@@ -280,7 +280,7 @@ QColor QGISectionLine::getSectionColor()
Qt::PenStyle QGISectionLine::getSectionStyle()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->
GetGroup("Preferences")->GetGroup("Mod/TechDraw");
GetGroup("Preferences")->GetGroup("Mod/TechDraw/Decorations");
Qt::PenStyle sectStyle = static_cast<Qt::PenStyle> (hGrp->GetInt("SectionLine", 2));
return sectStyle;
}