From d2d22f74756e3c4faec621e79bda690744f31ac1 Mon Sep 17 00:00:00 2001 From: Vladislav P Date: Wed, 13 Nov 2024 14:35:42 +0300 Subject: [PATCH] bookmarks: fix adding new tags in a filtering tag list --- src/qtgui/bookmarkstaglist.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qtgui/bookmarkstaglist.cpp b/src/qtgui/bookmarkstaglist.cpp index 5acafa2f1..f7826ca43 100644 --- a/src/qtgui/bookmarkstaglist.cpp +++ b/src/qtgui/bookmarkstaglist.cpp @@ -241,8 +241,10 @@ void BookmarksTagList::AddNewTag() QList found = findItems(newItemName, Qt::MatchExactly); if(found.isEmpty()) { + m_bUpdating = true; AddTag(newItemName); scrollToBottom(); + m_bUpdating = false; editItem(item(rowCount()-1, 1)); }else editItem(found[0]);