Commit 553de3fd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Plugin work on subject too

parent 952e68c5
Pipeline #50471 passed with stage
in 54 minutes and 3 seconds
......@@ -47,7 +47,8 @@ void QuickTextPluginEditorInterface::createAction(KActionCollection *ac)
button->setFocusPolicy(Qt::NoFocus);
button->setMenu(quickTextMenu->menu());
setStatusBarWidget(button);
setApplyOnFieldTypes(MessageComposer::PluginEditorInterface::ApplyOnFieldType::Composer);
setApplyOnFieldTypes(
{MessageComposer::PluginEditorInterface::ApplyOnFieldType::Composer | MessageComposer::PluginEditorInterface::ApplyOnFieldType::SubjectField});
}
void QuickTextPluginEditorInterface::slotActivated()
......
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