Fix check for root of content node tree
showContextMenu() is only called for content nodes from the mime part tree, but the mime part tree has a separate copy of the node tree. Therefore, isRoot was always false. Check content->isTopLevel() instead of comparing pointers.
Please register or sign in to comment