save project name after loading from file

This commit is contained in:
Reimar 2025-10-15 20:24:49 +02:00
parent d4dcd9bc28
commit 6b8dde5411

View File

@ -72,6 +72,8 @@ export class ProjectSaveHandler {
);
this.projectName.value = code.name;
sessionStorage.setItem("project-name", code.name);
const dec = new TextDecoder();
this.editor.setValue(dec.decode(code.content));