Commit ea8ba5e9 authored by Laurent Montel's avatar Laurent Montel 😁

Add collection

parent 6a90383b
......@@ -2675,6 +2675,7 @@ void ViewerPrivate::slotActivatePlugin(ViewerPluginInterface *interface)
interface->setMessage(mMessage);
interface->setMessageItem(mMessageItem);
interface->setUrl(mClickedUrl);
interface->setCurrentCollection(mMessageItem.parentCollection());
const QString text = mViewer->selectedText();
if (!text.isEmpty()) {
interface->setText(text);
......
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