Skip to content
  • Agata Cacko's avatar
    Ask user on adding a tag with the same url in WdgTagSel · d8986090
    Agata Cacko authored
    Before this commit, if the user tried to create a new tag
    with the same url as an existing tag,
    it would undelete the deleted tag, which means the assigned
    resources would still be assigned.
    This commit instead asks the user what they want to achieve,
    and there are three options:
    * Replace (overwrite) - this will reset assigned resources
    * Undelete - this will cancel adding the tag and just
    undelete the existing, deleted tag with all the assigned
    resources it had before
    * Cancel - no operation
    
    Note that this will only happen if the tag is not active
    (if it's deleted). If it's not, Krita will just use that
    tag and tag the resource.
    
    CCMAIL:kde-i18n-doc@kde.org
    d8986090