Skip to content

Commit

Permalink
Hide tag name line edit after pressing Tab (pbek#2607)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Sep 13, 2022
1 parent 046cf38 commit 913b684
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# QOwnNotes Changelog

## 22.9.1
- the tag name line edit will now be properly hidden after an existing tag was
recognized and added when pressing <kbd>Tab</kbd> (for [#2607](https://github.com/pbek/QOwnNotes/issues/2607))
- the tooltip for specifying file patterns of note files to ignore as regular expressions
in the *Panels settings* was fixed (for [#2580](https://github.com/pbek/QOwnNotes/issues/2580))

Expand Down
1 change: 1 addition & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4218,6 +4218,7 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
Tag::fetchByName(ui->newNoteTagLineEdit->text(), true);
if (tag.isFetched()) {
linkTagNameToCurrentNote(tag.getName(), true);
on_newNoteTagLineEdit_editingFinished();
}

return QMainWindow::eventFilter(obj, event);;
Expand Down

0 comments on commit 913b684

Please sign in to comment.