Changeset 201827 in webkit


Ignore:
Timestamp:
Jun 8, 2016 1:21:40 PM (8 years ago)
Author:
timothy@apple.com
Message:

Web Inspector: Command-W should not close Web Inspector tabs; it should close the window
https://bugs.webkit.org/show_bug.cgi?id=158538
rdar://problem/26699215

Reviewed by Brian Burg.

  • UserInterface/Views/TabBrowser.js:

(WebInspector.TabBrowser): Change shortcut to Command-Shift-W.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r201778 r201827  
     12016-06-08  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: Command-W should not close Web Inspector tabs; it should close the window
     4        https://bugs.webkit.org/show_bug.cgi?id=158538
     5        rdar://problem/26699215
     6
     7        Reviewed by Brian Burg.
     8
     9        * UserInterface/Views/TabBrowser.js:
     10        (WebInspector.TabBrowser): Change shortcut to Command-Shift-W.
     11
    1122016-06-07  Brian Burg  <bburg@apple.com>
    213
  • trunk/Source/WebInspectorUI/UserInterface/Views/TabBrowser.js

    r201671 r201827  
    5757        }
    5858
    59         this._closeCurrentTabKeyboardShortuct = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl, "W", closeCurrentTab);
     59        this._closeCurrentTabKeyboardShortuct = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Shift, "W", closeCurrentTab);
    6060
    6161        this._showNextTabKeyboardShortcut1 = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl | WebInspector.KeyboardShortcut.Modifier.Shift, WebInspector.KeyboardShortcut.Key.RightCurlyBrace, showNextTab);
Note: See TracChangeset for help on using the changeset viewer.