Skip to content

Commit

Permalink
bookmarks: fix adding new tags in a filtering tag list
Browse files Browse the repository at this point in the history
  • Loading branch information
vladisslav2011 committed Nov 13, 2024
1 parent ecc6e08 commit 34f65d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qtgui/bookmarkstaglist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,10 @@ void BookmarksTagList::AddNewTag()
QList<QTableWidgetItem *> 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]);
Expand Down

0 comments on commit 34f65d6

Please sign in to comment.