summaryrefslogtreecommitdiff
path: root/src/editorui/editormain.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/editorui/editormain.py')
-rw-r--r--src/editorui/editormain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py
index 297ac34..8ffd034 100644
--- a/src/editorui/editormain.py
+++ b/src/editorui/editormain.py
@@ -307,8 +307,8 @@ class KPEditorWidget(QtGui.QGraphicsView):
KP.map.pathLayer.paths.append(path)
- pathitem = KPEditorPath(path)
- self.scene().addItem(pathitem)
+ pathItem = KPEditorPath(path)
+ self.scene().addItem(pathItem)
# Switch the selection to the recently drawn node, so you can keep on rolling.