mirror of
https://github.com/asherao/dcs-scratchpad.git
synced 2025-10-29 16:56:22 +00:00
parent
059263eea3
commit
c20af3074c
@ -255,6 +255,20 @@ function scratchpad_load()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- there are no pages yet, create one
|
||||||
|
if pagesCount == 0 then
|
||||||
|
path = dirPath .. [[0000.txt]]
|
||||||
|
scratchpad.log("creating page " .. path)
|
||||||
|
table.insert(
|
||||||
|
pages,
|
||||||
|
{
|
||||||
|
name = "0000",
|
||||||
|
path = path
|
||||||
|
}
|
||||||
|
)
|
||||||
|
pagesCount = pagesCount + 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function scratchpad.saveConfiguration()
|
function scratchpad.saveConfiguration()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user