Revert "Merge pull request #697 from Guldoman/treeview_remove_changed"
This reverts commit4e078cc217
, reversing changes made to0c488c9492
.
This commit is contained in:
parent
590c8bb456
commit
9e7bdf49e9
|
@ -1158,7 +1158,7 @@ end
|
|||
|
||||
|
||||
-- no-op but can be overrided by plugins
|
||||
function core.on_dirmonitor_modify(dir, filepath)
|
||||
function core.on_dirmonitor_modify()
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -45,14 +45,6 @@ function TreeView:new()
|
|||
|
||||
self.item_icon_width = 0
|
||||
self.item_text_spacing = 0
|
||||
|
||||
local on_dirmonitor_modify = core.on_dirmonitor_modify
|
||||
function core.on_dirmonitor_modify(dir, filepath)
|
||||
if self.cache[dir.name] then
|
||||
self.cache[dir.name][filepath] = nil
|
||||
end
|
||||
on_dirmonitor_modify(dir, filepath)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue