Commit 8ccd2eee authored by Laurent Montel's avatar Laurent Montel 😁

Reactivate scroll to

parent 892e721f
......@@ -637,9 +637,12 @@ void ViewerPrivate::showAttachmentPopup(KMime::Content *node, const QString &nam
const bool attachmentInHeader = mViewer->isAttachmentInjectionPoint(globalPos);
const bool hasScrollbar = mViewer->hasVerticalScrollBar();
if (attachmentInHeader && hasScrollbar) {
action = menu->addAction(i18n("Scroll To"));
connect(action, SIGNAL(triggered(bool)), attachmentMapper, SLOT(map()));
attachmentMapper->setMapping(action, Viewer::ScrollTo);
#if 0
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment