зеркало из https://github.com/mozilla/gecko-dev.git
open bookmark on cmd-downArrow or enter. keep return for edit (bug 209886)
This commit is contained in:
Родитель
87da40747d
Коммит
ec75c26dd4
|
@ -107,6 +107,12 @@
|
|||
return;
|
||||
}
|
||||
}
|
||||
else if (c == NSEnterCharacter
|
||||
|| ([aEvent modifierFlags] & NSCommandKeyMask && c == NSDownArrowFunctionKey)) {
|
||||
// on enter or cmd-downArrow, open the item as a double-click
|
||||
[NSApp sendAction:[self doubleAction] to:[self target] from:self];
|
||||
return;
|
||||
}
|
||||
else if (c == NSLeftArrowFunctionKey || c == NSRightArrowFunctionKey)
|
||||
{
|
||||
BOOL expand = (c == NSRightArrowFunctionKey);
|
||||
|
|
Загрузка…
Ссылка в новой задаче