Send updated event when you update the node

This commit is contained in:
Julien Duponchelle committed 2016-05-18 11:03:13 +02:00
1 parent 7ebbdcd47c
commit 82f82f8cf9
10 files changed
+16

No files matched your search

+6
View File
@@ -105,6 +105,12 @@ class BaseNode:
def status(self, status):
self._node_status = status
self.updated()
def updated(self):
"""
Send a updated event
"""
self.project.emit("node.updated", self)
@property