mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-09 00:39:59 +01:00
Minor fix to dashdotted primitives
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2570 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -75,6 +75,7 @@ void CustomElementGraphicPart::stylesFromXml(const QDomElement &qde) {
|
||||
if (style_name == "line-style") {
|
||||
if (style_value == "dashed") _linestyle = DashedStyle;
|
||||
if (style_value == "dotted") _linestyle = DottedStyle;
|
||||
if (style_value == "dashdotted") _linestyle = DashdottedStyle;
|
||||
else if (style_value == "normal") _linestyle = NormalStyle;
|
||||
// il n'y a pas de else car les valeurs non conformes sont ignorees (idem par la suite)
|
||||
} else if (style_name == "line-weight") {
|
||||
|
||||
Reference in New Issue
Block a user