From c39262c3fa1d4d0667265bce6231667a75ae811f Mon Sep 17 00:00:00 2001 From: Twest2 Date: Mon, 15 Jun 2026 18:08:16 -0500 Subject: [PATCH] Fix global placeholders save crashing with non-serializable error The placeholders:globals:set IPC handler destructured { values } from its args, but the renderer sends the placeholders object directly, so values was always undefined and JSON.stringify(undefined) threw. --- app/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index 3dc4bbf..becd078 100644 --- a/app/main.js +++ b/app/main.js @@ -485,7 +485,7 @@ function setupIpc() { return settings.data; }); h('placeholders:globals:get', () => settings.getGlobalPlaceholders()); - h('placeholders:globals:set', ({ values }) => settings.setGlobalPlaceholders(values)); + h('placeholders:globals:set', (values) => settings.setGlobalPlaceholders(values)); // capture h('capture:shoot', async ({ guideId, mode, delayMs }) => {