diff --git a/packages/project-editor/features/font/font.tsx b/packages/project-editor/features/font/font.tsx index 0e32da75..c3f6f9f2 100644 --- a/packages/project-editor/features/font/font.tsx +++ b/packages/project-editor/features/font/font.tsx @@ -1737,7 +1737,10 @@ export class Font extends EezObject { } async loadLvglGlyphs(projectStore: ProjectStore) { - if (!this.lvglRanges && !this.lvglSymbols) { + if ( + (!this.lvglRanges && !this.lvglSymbols) || + !ProjectEditor.getProjectStore(this) + ) { return; }