Skip to content

Commit

Permalink
Devtools: Remove duplicated shortcut for go to member in Sources
Browse files Browse the repository at this point in the history
One of the two shortcuts for go to member in Sources conflicts with
command menu; Cmd+Shift+O can still be used.

BUG=589353

Review URL: https://codereview.chromium.org/1822913004

Cr-Commit-Position: refs/heads/master@{#382516}
  • Loading branch information
lisamuel authored and Commit bot committed Mar 22, 2016
1 parent da43a0c commit 82aee18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion front_end/components/ShortcutsScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ WebInspector.ShortcutsScreen.SourcesPanelShortcuts = {
],

GoToMember: [
WebInspector.KeyboardShortcut.makeDescriptor("p", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift)
WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift)
],

GoToLine: [
Expand Down
1 change: 0 additions & 1 deletion front_end/sources/SourcesView.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ WebInspector.SourcesView.prototype = {
registerShortcut.call(this, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.CloseEditorTab, this._onCloseEditorTab.bind(this));
registerShortcut.call(this, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.GoToLine, this._showGoToLineDialog.bind(this));
registerShortcut.call(this, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.GoToMember, this._showOutlineDialog.bind(this));
registerShortcut.call(this, [WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift)], this._showOutlineDialog.bind(this));
registerShortcut.call(this, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.ToggleBreakpoint, this._toggleBreakpoint.bind(this));
registerShortcut.call(this, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.Save, this._save.bind(this));
registerShortcut.call(this, WebInspector.ShortcutsScreen.SourcesPanelShortcuts.SaveAll, this._saveAll.bind(this));
Expand Down

0 comments on commit 82aee18

Please sign in to comment.