diff --git a/common/src/View/Actions.cpp b/common/src/View/Actions.cpp index cb36109082..bb17f907a2 100644 --- a/common/src/View/Actions.cpp +++ b/common/src/View/Actions.cpp @@ -276,7 +276,7 @@ namespace TrenchBroom { result.push_back(makeAction( IO::Path("Entities/" + definition->name() + "/Create"), QObject::tr("Create %1").arg(QString::fromStdString(definition->name())), - ActionContext::AnyView | ActionContext::NodeSelection | ActionContext::AnyTool, + ActionContext::Any, [definition](ActionExecutionContext& context) { context.view()->createEntity(definition); },