Skip to content
  • Mugurell's avatar
    For #3584 - Check if menu is open before showing a new one (#5674) · 8f0325c0
    Mugurell authored
    Could have implemented this check (if menu is showing) inside the show() method
    of BrowserMenu but this would mean the client (us) would go to the process of
    building a new menu and then trying to have it displayed only for this to be
    ignored by BrowserMenu in a somewhat opaque way.
    Having this check done as soon as possible offers us full control and avoids
    the unnecessary steps for building an already shown menu.
    8f0325c0