D20865: [TagsFileItemAction] Avoid readding an existing tag via "New tag..."

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sat Apr 27 13:27:09 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, Dolphin, nicolasfella, ngraham, elvisangelaccio.
bruns added a project: Baloo.
bruns requested review of this revision.

REVISION SUMMARY
  The value from the input dialog may be identical to an already set tag.
  Avoid writing duplicate tags.

TEST PLAN
  1. Add a tag "Foo" to a file
  2. Add "Foo" a second time via "New tag..."
  3. getfattr -d <file> should show "Foo" only once

REPOSITORY
  R824 Baloo Widgets

BRANCH
  tagsfileaction

REVISION DETAIL
  https://phabricator.kde.org/D20865

AFFECTED FILES
  src/tagsfileitemactionplugin/tagsfileitemaction.cpp

To: bruns, #baloo, #dolphin, nicolasfella, ngraham, elvisangelaccio
Cc: gennad, domson, ashaposhnikov, astippich, spoorun, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190427/15a256ba/attachment.htm>


More information about the kfm-devel mailing list