summaryrefslogtreecommitdiff
path: root/grc/gui/Element.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Element.py')
-rw-r--r--grc/gui/Element.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/grc/gui/Element.py b/grc/gui/Element.py
index 3b077dcc3e..b51a64735f 100644
--- a/grc/gui/Element.py
+++ b/grc/gui/Element.py
@@ -112,8 +112,7 @@ class Element(object):
cr.set_source_rgb(*border_color)
for line in self.lines:
- cr.move_to(*line[0])
- for point in line[1:]:
+ for point in line:
cr.line_to(*point)
cr.stroke()