       NSLog("WARN: FileBrowserMenu.xib could not be loaded")
       return
     }
+    self.menu?.items.forEach { $0.target = self }
+    self.doubleAction = #selector(FileOutlineViewOld.doubleClickAction)
 
     source
       .observeOn(MainScheduler.instance)

  }
}

// MARK: - NSOutlineViewDelegate
extension FileOutlineView {


    NSOutlineView.configure(toStandard: self)
    self.delegate = self

    // Load context menu.
    // This will set self.menu.
    guard Bundle.main.loadNibNamed(
      NSNib.Name("FileBrowserMenu"),
      owner: self,
