diff options
author | Colin Noga <Tempus@chronometry.ca> | 2011-12-30 04:23:40 -0600 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2011-12-30 04:23:40 -0600 |
commit | 5adfa5973564bec0638d661339240c1df61f41d5 (patch) | |
tree | 95ad534ae8b4a971a433c36d18fad644f6598693 /src/editorui/paths.py | |
parent | 4fe38d93d44a0ed6e002f5ae319c88e4efb5678f (diff) | |
download | koopatlas-5adfa5973564bec0638d661339240c1df61f41d5.tar.gz koopatlas-5adfa5973564bec0638d661339240c1df61f41d5.zip |
Tried for a windows build, failed. Added some icons.
Diffstat (limited to 'src/editorui/paths.py')
-rw-r--r-- | src/editorui/paths.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/editorui/paths.py b/src/editorui/paths.py index 55bfac0..b240b22 100644 --- a/src/editorui/paths.py +++ b/src/editorui/paths.py @@ -142,7 +142,6 @@ class KPEditorNode(KPEditorItem): self.transitionProxy = self.HiddenProxy(self.transition, self, -102, 24) self.transition.currentIndexChanged.connect(self.transitionChange) - self._updatePosition() @@ -183,6 +182,7 @@ class KPEditorNode(KPEditorItem): self.update() + KP.mainWindow.pathNodeList.update() @QtCore.pyqtSlot(int) @@ -191,6 +191,8 @@ class KPEditorNode(KPEditorItem): node = self._nodeRef() node.level[0] = world + KP.mainWindow.pathNodeList.update() + @QtCore.pyqtSlot(int) def stageChange(self, stage): @@ -198,6 +200,8 @@ class KPEditorNode(KPEditorItem): node = self._nodeRef() node.level[1] = stage + KP.mainWindow.pathNodeList.update() + @QtCore.pyqtSlot(int) def foreignIDChange(self, ID): @@ -205,6 +209,8 @@ class KPEditorNode(KPEditorItem): node = self._nodeRef() node.foreignID = ID + KP.mainWindow.pathNodeList.update() + @QtCore.pyqtSlot(int) def transitionChange(self, index): @@ -212,6 +218,8 @@ class KPEditorNode(KPEditorItem): node = self._nodeRef() node.transition = index + KP.mainWindow.pathNodeList.update() + @QtCore.pyqtSlot(str) def mapChangeChange(self, mapname): @@ -219,6 +227,8 @@ class KPEditorNode(KPEditorItem): node = self._nodeRef() node.mapChange = mapname + KP.mainWindow.pathNodeList.update() + def _updatePosition(self): self.ignoreMovement = True |