diff --git a/pd/src/g_template.c b/pd/src/g_template.c
index c06fba7018367dc17545391bfbe3d0f1472bb053..64ba1a442b24649ef8761a29c5a97b2157844ee9 100644
--- a/pd/src/g_template.c
+++ b/pd/src/g_template.c
@@ -3836,6 +3836,11 @@ static void svg_togui(t_svg *x, t_template *template, t_word *data)
         gui_s("stroke-opacity");
         gui_f(fielddesc_getcoord(&x->x_strokeopacity.a_attr, template, data, 1));
     }
+    if (x->x_strokedashoffset.a_flag)
+    {
+        gui_s("stroke-dashoffset");
+        gui_f(fielddesc_getcoord(&x->x_strokedashoffset.a_attr, template, data, 1));
+    }
     if (x->x_strokelinecap.a_flag)
     {
         gui_s("stroke-linecap");