From 4033885eb7dcad0aec3c8546a4d7d26bee69cced Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 3 Jun 2019 17:47:35 +0200 Subject: [PATCH] fixed profile hotkeys (fixes #995) --- terminus-terminal/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-terminal/src/index.ts b/terminus-terminal/src/index.ts index 09391c84..ca737069 100644 --- a/terminus-terminal/src/index.ts +++ b/terminus-terminal/src/index.ts @@ -165,7 +165,7 @@ export default class TerminalModule { hostApp.newWindow() } if (hotkey.startsWith('profile.')) { - let profiles = await config.store.terminal.getProfiles() + let profiles = await terminal.getProfiles() let profile = profiles.find(x => slug(x.name).toLowerCase() === hotkey.split('.')[1]) if (profile) { terminal.openTabWithOptions(profile.sessionOptions)