Commit 9ba0e026 authored by Laurent Montel's avatar Laurent Montel 😁

Activate it

parent 69ff8708
......@@ -995,9 +995,10 @@ bool AttachmentURLHandler::handleClick(const QUrl &url, ViewerPrivate *w) const
return false;
}
//Laurent workaround until I fix scrolltoattachment
#if 0
#if 1
const bool inHeader = attachmentIsInHeader(url);
const bool shouldShowDialog = !w->nodeHelper()->isNodeDisplayedEmbedded(node) || !inHeader;
qDebug() << " inHeader: " << inHeader << " shouldShowDialog: "<<shouldShowDialog;
if (inHeader) {
w->scrollToAttachment(node);
}
......
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