Adding user preferences to LT and Viewer

This commit is contained in:
Bruno Alves de Faria committed 2017-06-14 16:10:44 -03:00
1 parent 3d081fe297
commit e8d729c9b0
9 files changed
+121 -1

No files matched your search

@@ -86,7 +86,9 @@ export class HotkeysManager {
return reject();
}
context.extend(definitions);
context.destroy();
context.definitions = definitions;
context.initialize();
this.changeObserver.changed();
resolve(definitions);
}).catch(reject);