Commit 468b2586 authored by Maik Qualmann's avatar Maik Qualmann

revert Remove "Create * in People" option for face tags. Change "Create *" to

parent 24505f36
Pipeline #10653 failed with stage
in 60 minutes
......@@ -34,7 +34,6 @@
#include "tagscache.h"
#include "coredbaccess.h"
#include "coredb.h"
#include "facetags.h"
namespace Digikam
{
......@@ -241,9 +240,7 @@ QList<TaggingAction> TaggingActionFactory::actions() const
}
actions << newUnderParent;
//Don't need to add top level for face tags
if (d->parentTagId != FaceTags::personParentTag())
actions << newToplevel;
actions << newToplevel;
}
else // if (createItemTopLevel && createItemTopLevel->action() == defaultAction)
{
......@@ -394,7 +391,7 @@ QString TaggingActionFactory::suggestedUIString(const TaggingAction& action) con
}
else // shallCreateNewTag
{
if (action.parentTagId() && d->parentTagId != FaceTags::personParentTag())
if (action.parentTagId())
{
return i18nc("Create New Tag <tag name> in <parent tag path>", "Create \"%1\" in %2",
action.newTagName(), TagsCache::instance()->tagPath(action.parentTagId(), TagsCache::NoLeadingSlash));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment