Since new multi layer selection, "add layer mask" is never sensitive in the menu (master branch)
The multi layer selection broke the menu of layer mask.
This patch should fix it. I hope it is the correct way to fix it. But it seems to work.
Edited by Cyril Richard