From 352654756ecd10766cf2f37762254241e87b342f Mon Sep 17 00:00:00 2001 From: chrys87 Date: Thu, 22 Sep 2016 11:48:45 +0200 Subject: [PATCH] Update fenrir.py --- src/fenrir-package/fenrir.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index 17a5581d..0aef600c 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -52,6 +52,8 @@ class fenrir(): if self.environment['screenData']['newApplication'] != self.environment['screenData']['oldApplication']: self.environment['runtime']['commandManager'].executeDefaultTrigger('onApplicationChange') + self.environment['runtime']['commandManager'].executeSwitchTrigger(self, 'onSwitchApplicationProfile', \ + self.environment['screenData']['oldApplication'], self.environment['screenData']['newApplication']) self.environment['runtime']['commandManager'].executeDefaultTrigger('onInput') if self.environment['screenData']['newTTY'] == self.environment['screenData']['oldTTY']: self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')