Skip to content

Commit

Permalink
attempt at implementing NationalSecurityAgency#7129
Browse files Browse the repository at this point in the history
  • Loading branch information
hippietrail committed Oct 31, 2024
1 parent d7cdbd5 commit 1e06046
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ public void keyReleased(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_ENTER) {
e.consume();
handleEnterKey();
} else if (e.getKeyCode() == KeyEvent.VK_UP) {
if (e.getModifiersEx() == KeyEvent.META_DOWN_MASK) {
e.consume();
chooser.goUpOneDirectoryLevel();
}
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ private boolean isUserEditing() {
return false;
}

private void goUpOneDirectoryLevel() {
public void goUpOneDirectoryLevel() {
cancelEdits();

if (currentDirectory() == null) {
Expand Down

0 comments on commit 1e06046

Please sign in to comment.