_popupNavHandler(e, detail) {
    log.debug('Handling popup menu event from the menu.');
    if (!this.app.wm.hasWindow) {
      log.warn('Popup menu event handled without menu window registered.');
      return;
    }
    let win = this.app.wm.lastFocused;
    if (!win) {
      win = this.app.wm.lastActive;
    }
    if (!win) {
      log.warn('Unable to perform navigation. No active window found.');
      return;
    }
    log.debug('Sending navigate event to the renderer process.');
    win.webContents.send('app-navigate', detail);
  }
/**
   * Handler for an event dispatched by popup menu when navigation action was
   * performed.
   * @param {Event} e
   * @param {Object} detail Event detail
   */
Handler for an event dispatched by popup menu when navigation action was
performed.
@param {Event} e
@param {Object} detail Event detail
Handler for an event dispatched by popup menu when navigation action was performed . @param { Event } e @param { Object } detail Event detail
_popupNavHandler(e, detail) {
    log.debug('Handling popup menu event from the menu.');
    if (!this.app.wm.hasWindow) {
      log.warn('Popup menu event handled without menu window registered.');
      return;
    }
    let win = this.app.wm.lastFocused;
    if (!win) {
      win = this.app.wm.lastActive;
    }
    if (!win) {
      log.warn('Unable to perform navigation. No active window found.');
      return;
    }
    log.debug('Sending navigate event to the renderer process.');
    win.webContents.send('app-navigate', detail);
  }
_popupNavHandler ( e , detail ) { log . debug ( 'Handling popup menu event from the menu.' ) ; if ( ! this . app . wm . hasWindow ) { log . warn ( 'Popup menu event handled without menu window registered.' ) ; return ; } let win = this . app . wm . lastFocused ; if ( ! win ) { win = this . app . wm . lastActive ; } if ( ! win ) { log . warn ( 'Unable to perform navigation. No active window found.' ) ; return ; } log . debug ( 'Sending navigate event to the renderer process.' ) ; win . webContents . send ( 'app-navigate' , detail ) ; }
Handler for an event dispatched by popup menu when navigation action was
 performed.
Handler for an event dispatched by popup menu when navigation action was performed .