Send updated event when you update the node

This commit is contained in:
Julien Duponchelle
2016-05-18 11:00:35 +02:00
parent 7ebbdcd47c
commit 82f82f8cf9
10 changed files with 16 additions and 0 deletions

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