From 0510da070173cf5f3e81cb4615c600fc4628964d Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 20 Mar 2018 15:19:32 +0100 Subject: [PATCH] fix --- src/core/BaseApplication.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/BaseApplication.coffee b/src/core/BaseApplication.coffee index b94092d..18739c6 100644 --- a/src/core/BaseApplication.coffee +++ b/src/core/BaseApplication.coffee @@ -25,9 +25,9 @@ class BaseApplication extends this.OS.GUI.BaseModel CTRL: {} SHIFT: {} META: {} - @subscribe "appregistry" - , ( m ) -> - me.applySetting m.data.m if (m.name is me.name) + me = @ + @subscribe "appregistry", ( m ) -> + me.applySetting m.data.m if (m.name is me.name) init: -> me = @ @off "*"