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 02d0524 commit d2d22f7
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 d2d22f7

Please sign in to comment.