From 2f6ce9ba091ef934389d64bdcb7b37ea947a8e77 Mon Sep 17 00:00:00 2001 From: Wertzui123 <46199283+Wertzui123@users.noreply.github.com> Date: Wed, 10 Jul 2024 16:53:10 +0200 Subject: [PATCH] Fix the auto-generated "Notes" booklet sometimes being displayed twice in the booklets collection --- main.aspl | 1 + 1 file changed, 1 insertion(+) diff --git a/main.aspl b/main.aspl index 82e3671..96f7f25 100644 --- a/main.aspl +++ b/main.aspl @@ -87,6 +87,7 @@ if(AppState:booklets.length == 0 || !hasAnySelected){ } booklet.save() // create an .lci file booklet.prepare() + io.write_file(io.join_path([Booklet:getBookletsPath(), "current.txt"]), booklet.name) } if(io.exists_file(io.join_path([Booklet:getBookletsPath(), "pens.json"]))){ AppState:pens = Pen:jsonDecodePens(io.read_file(io.join_path([Booklet:getBookletsPath(), "pens.json"])))