From 913b684fb3c624d8ce857c8b8cae6c8bb27716af Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Tue, 13 Sep 2022 18:07:25 +0200 Subject: [PATCH] Hide tag name line edit after pressing Tab (#2607) --- CHANGELOG.md | 2 ++ src/mainwindow.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbc5acd5d8..54f3f45cd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 Tab (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)) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 89db8de87e..2b6daaace6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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);;