mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Don't intercept non-core commands
This commit is contained in:
committed by
Corey Johnson & Nathan Sobo
parent
fb2439f193
commit
60d804fb72
@@ -171,7 +171,6 @@ class AtomApplication
|
||||
when 'core:cut' then Menu.sendActionToFirstResponder('cut:')
|
||||
when 'core:paste' then Menu.sendActionToFirstResponder('paste:')
|
||||
when 'core:select-all' then Menu.sendActionToFirstResponder('selectAll:')
|
||||
when 'command-panel:find-in-file' then Menu.sendActionToFirstResponder('performTextFinderAction:')
|
||||
when 'window:reload' then @focusedWindow()?.reload()
|
||||
when 'window:toggle-dev-tools' then @focusedWindow()?.toggleDevTools()
|
||||
when 'window:close' then @focusedWindow()?.close()
|
||||
|
||||
Reference in New Issue
Block a user