Skip to content

Commit

Permalink
#3097 remove: right arrow to jump to note list
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Sep 5, 2024
1 parent 828b5ff commit 4c4c6ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
- The **backlink widget** link detection was improved
(for [#1717](https://github.com/pbek/QOwnNotes/issues/1717))
- In checkbox lists the checkboxes will now not be detected as part of the links
- In the note search line edit, the `Right` arrow key will not make the focus
jump to the note list anymore, the `Tab` key is enough to do that
(for [#3097](https://github.com/pbek/QOwnNotes/issues/3097))

## 24.9.1
- The **backlink widget** in the navigation panel now also shows the links in the notes
Expand Down
6 changes: 2 additions & 4 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4183,10 +4183,8 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
}
}

// set focus to the notes list if Key_Right or Key_Tab were
// pressed in the search line edit
if ((keyEvent->key() == Qt::Key_Right) || (keyEvent->key() == Qt::Key_Tab) ||
downSelectNote) {
// set focus to the notes list if Key_Tab was pressed in the search line edit
if (keyEvent->key() == Qt::Key_Tab || downSelectNote) {
// add the current search text to the saved searches
storeSavedSearch();

Expand Down

0 comments on commit 4c4c6ee

Please sign in to comment.