mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 16:56:40 +03:00
GH-286 Guard against files which disappear fast
This commit is contained in:
parent
63b8191366
commit
aa2c55aae5
@ -61,6 +61,10 @@ class FileBrowserComponent: ViewComponent, NSOutlineViewDataSource, NSOutlineVie
|
||||
return
|
||||
}
|
||||
|
||||
guard self.fileView.row(forItem: fileItem) > -1 else {
|
||||
return
|
||||
}
|
||||
|
||||
// NSLog("\(root) -> \(fileItem)")
|
||||
DispatchUtils.gui {
|
||||
self.fileView.reloadItem(fileItem, reloadChildren: true)
|
||||
|
Loading…
Reference in New Issue
Block a user