Skip to content

Commit

Permalink
fix: The alt+down shortcut should not be to open a property box, but …
Browse files Browse the repository at this point in the history
…to open a file

The alt+down shortcut should not be to open a property box, but to open a file

Log: The alt+down shortcut should not be to open a property box, but to open a file
Bug: https://pms.uniontech.com/bug-view-256051.html
  • Loading branch information
liyigang1 authored and deepin-bot[bot] committed May 28, 2024
1 parent e4ced92 commit 9915975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dfm-base/shortcut/shortcut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Shortcut::Shortcut(QObject *parent)
<< ShortcutItem(tr("Select to upper row"), "Shift + Up ")
<< ShortcutItem(tr("Select to lower row"), "Shift + Down ")
<< ShortcutItem(tr("Reverse selection"), "Ctrl + Shift + I ")
<< ShortcutItem(tr("Open"), "Ctrl + Down ")
<< ShortcutItem(tr("Open"), "Ctrl + Down " + QObject::tr("or") + " Alt + Down ")
<< ShortcutItem(tr("To parent directory"), "Ctrl + Up ")
<< ShortcutItem(tr("Permanently delete"), "Shift + Delete ")
<< ShortcutItem(tr("Delete file"), "Delete " + QObject::tr("or") + " Ctrl + D ")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ bool ShortcutHelper::processKeyPressEvent(QKeyEvent *event)
cdUp();
return true;
case Qt::Key_Down: {
showFilesProperty();
openAction(view->selectedUrlList());
return true;
}
case Qt::Key_Home:
Expand Down

0 comments on commit 9915975

Please sign in to comment.