changeset 1688:59a94105b138

core(params): replaced isConnected by isSessionStarted for profile update signal when a general param is modified
author Goffi <goffi@goffi.org>
date Thu, 26 Nov 2015 16:04:45 +0100
parents de9cc4d62a4a
children a40124e03baf
files src/memory/params.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/memory/params.py	Thu Nov 26 15:49:58 2015 +0100
+++ b/src/memory/params.py	Thu Nov 26 16:04:45 2015 +0100
@@ -835,7 +835,7 @@
             self.params_gen[(category, name)] = value
             self.storage.setGenParam(category, name, value)
             for profile in self.storage.getProfilesList():
-                if self.host.isConnected(profile):
+                if self.host.memory.isSessionStarted(profile):
                     self.host.bridge.paramUpdate(name, value, category, profile)
                     self.host.trigger.point("paramUpdateTrigger", name, value, category, node[0], profile)
             return defer.succeed(None)