Fix SectionLine preference location
This commit is contained in:
committed by
Yorik van Havre
parent
0caa169eb0
commit
1d8cc22ed4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user