2c1a71ad2b
Instead of having a handler on 2 separate objects, use :select and :deselect on the same one. Those signals are appropriate, as the documentation mentions that submenus are popped up on :select.