Popup menu


I have a popup menu, when I click on it the menu items are displayed as expected.

If I do not select a menu item but double-click elsewhere in the window the menu is displayed again.

How can I prevent this from happening?

Return True at the end does not prevent it, neither does Return True in the mouse up event.