Tracker: Use Alt-L to set focus on Navigator's location
* Alt-L shortcut sets the focus to location input view in single navigation mode; * Fixes #9602. - GCI2013
This commit is contained in:
committed by
Siarzhuk Zharski
parent
a6e7154312
commit
fdc8f5b8c2
@@ -4056,6 +4056,8 @@ BContainerWindow::SetSingleWindowBrowseShortcuts(bool enabled)
|
||||
new BMessage(kNavigatorCommandUp), Navigator());
|
||||
AddShortcut(B_DOWN_ARROW, B_OPTION_KEY | B_COMMAND_KEY,
|
||||
new BMessage(kOpenSelection), PoseView());
|
||||
AddShortcut('L', B_COMMAND_KEY,
|
||||
new BMessage(kNavigatorCommandSetFocus), Navigator());
|
||||
|
||||
} else {
|
||||
RemoveShortcut(B_LEFT_ARROW, B_COMMAND_KEY);
|
||||
@@ -4078,6 +4080,7 @@ BContainerWindow::SetSingleWindowBrowseShortcuts(bool enabled)
|
||||
AddShortcut(B_UP_ARROW, B_COMMAND_KEY | B_OPTION_KEY,
|
||||
new BMessage(kOpenParentDir), PoseView());
|
||||
// command + option results in closing the parent window
|
||||
RemoveShortcut('L', B_COMMAND_KEY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user