Remove calls to reschedule_project_scan
This commit is contained in:
parent
cd0f4144e2
commit
36de78d6df
|
@ -443,7 +443,6 @@ command.add(function() return view.hovered_item ~= nil end, {
|
||||||
else
|
else
|
||||||
core.error("Error while renaming \"%s\" to \"%s\": %s", old_abs_filename, abs_filename, err)
|
core.error("Error while renaming \"%s\" to \"%s\": %s", old_abs_filename, abs_filename, err)
|
||||||
end
|
end
|
||||||
core.reschedule_project_scan()
|
|
||||||
end, common.path_suggest)
|
end, common.path_suggest)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
@ -458,7 +457,6 @@ command.add(function() return view.hovered_item ~= nil end, {
|
||||||
file:write("")
|
file:write("")
|
||||||
file:close()
|
file:close()
|
||||||
core.root_view:open_doc(core.open_doc(doc_filename))
|
core.root_view:open_doc(core.open_doc(doc_filename))
|
||||||
core.reschedule_project_scan()
|
|
||||||
core.log("Created %s", doc_filename)
|
core.log("Created %s", doc_filename)
|
||||||
end, common.path_suggest)
|
end, common.path_suggest)
|
||||||
end,
|
end,
|
||||||
|
@ -471,7 +469,6 @@ command.add(function() return view.hovered_item ~= nil end, {
|
||||||
core.command_view:enter("Folder Name", function(filename)
|
core.command_view:enter("Folder Name", function(filename)
|
||||||
local dir_path = core.project_dir .. PATHSEP .. filename
|
local dir_path = core.project_dir .. PATHSEP .. filename
|
||||||
common.mkdirp(dir_path)
|
common.mkdirp(dir_path)
|
||||||
core.reschedule_project_scan()
|
|
||||||
core.log("Created %s", dir_path)
|
core.log("Created %s", dir_path)
|
||||||
end, common.path_suggest)
|
end, common.path_suggest)
|
||||||
end,
|
end,
|
||||||
|
@ -508,7 +505,6 @@ command.add(function() return view.hovered_item ~= nil end, {
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
core.reschedule_project_scan()
|
|
||||||
core.log("Deleted \"%s\"", filename)
|
core.log("Deleted \"%s\"", filename)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue