From 5a70b9a8d357a44fc245a95b76f8ab17aa03bc6e Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Tue, 22 Nov 2011 11:28:42 -0600 Subject: path widget button thingy --- src/editorui/editormain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/editorui/editormain.py') 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. -- cgit v1.2.3