Commit b182d5ac authored by con's avatar con
Browse files

Don't try to add actions to non-existing group.

parent 50e45b76
......@@ -196,7 +196,7 @@ void FindPlugin::setupFilterMenuItems()
action->setData(qVariantFromValue(filter));
cmd = am->registerAction(action, QLatin1String("FindFilter.")+filter->id(), globalcontext);
cmd->setDefaultKeySequence(filter->defaultShortcut());
mfindadvanced->addAction(cmd, Constants::G_FIND_FILTERS);
mfindadvanced->addAction(cmd);
m_filterActions.insert(filter, action);
connect(action, SIGNAL(triggered(bool)), this, SLOT(openFindFilter()));
connect(filter, SIGNAL(changed()), this, SLOT(filterChanged()));
......
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