Skip to content

Commit 2b6c380

Browse files
authored
Merge pull request #2774 from gurungrahul2/2194
#2194 - fixes Hotkey not working
2 parents 9270e59 + 04fdb67 commit 2b6c380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/main/lib/ConfigManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function assignConfigValues (originalConfig, rcConfig) {
211211
function rewriteHotkey (config) {
212212
const keys = [...Object.keys(config.hotkey)]
213213
keys.forEach(key => {
214-
config.hotkey[key] = config.hotkey[key].replace(/Cmd/g, 'Command')
214+
config.hotkey[key] = config.hotkey[key].replace(/Cmd\s/g, 'Command ')
215215
config.hotkey[key] = config.hotkey[key].replace(/Opt\s/g, 'Option ')
216216
})
217217
return config

0 commit comments

Comments
 (0)