def update_menu(self):
        """Update context menu"""
        self.menu.clear()
        add_actions(self.menu, self.create_context_menu_actions())
def update_menu ( self ) : self . menu . clear ( ) add_actions ( self . menu , self . create_context_menu_actions ( ) )
Update context menu