Revert "Merge pull request #697 from Guldoman/treeview_remove_changed"

This reverts commit 4e078cc217, reversing
changes made to 0c488c9492.
This commit is contained in:
Guldoman 2021-12-22 23:39:26 +01:00
parent 590c8bb456
commit 9e7bdf49e9
No known key found for this signature in database
GPG Key ID: C08A498EC7F1AFDD
2 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -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