remove unsaved flag from log.txt
This commit is contained in:
parent
2f65d5a26f
commit
00e2e281d3
|
@ -7,6 +7,8 @@ command.add(nil, {
|
||||||
local doc = core.open_doc("logs.txt")
|
local doc = core.open_doc("logs.txt")
|
||||||
core.root_view:open_doc(doc)
|
core.root_view:open_doc(doc)
|
||||||
doc:insert(1, 1, core.get_log())
|
doc:insert(1, 1, core.get_log())
|
||||||
|
doc.new_file = false
|
||||||
|
doc:clean()
|
||||||
end,
|
end,
|
||||||
["log:copy-to-clipboard"] = function()
|
["log:copy-to-clipboard"] = function()
|
||||||
system.set_clipboard(core.get_log())
|
system.set_clipboard(core.get_log())
|
||||||
|
|
Loading…
Reference in New Issue