Fixes #2099: "Undo: Hide Selected Nodes/Edges" works now