summaryrefslogtreecommitdiff
path: root/graphics/asymptote/GUI/ContextWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/GUI/ContextWindow.py')
-rw-r--r--graphics/asymptote/GUI/ContextWindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/GUI/ContextWindow.py b/graphics/asymptote/GUI/ContextWindow.py
index 114ec5acde..2711cfeca7 100644
--- a/graphics/asymptote/GUI/ContextWindow.py
+++ b/graphics/asymptote/GUI/ContextWindow.py
@@ -173,8 +173,8 @@ class AnotherWindow(Qw.QWidget):
#None, {Arrow, ArcArrow} x {(),(SimpleHead),(HookHead),(TeXHead)}
if isinstance(self.shape, x2a.xasyShape):
if i != 0:
- if self.newShape == x2a.asyArrow:
- self.newShape = self.newShape.arrowify(arrowhead=i)
+ if isinstance(self.newShape,x2a.asyArrow):
+ self.newShape.arrowSettings["active"] = i
else:
self.newShape = self.shape.arrowify(arrowhead=i)
else: