def METHOD_NAME(self, event):
    """Display the popup editor if the left mouse button was pressed
    previously.
    """
    if self.left_down:
        self.left_down = False
        self.popup_editor(event)