From d92ca3eed07ab61317e561d144b709958abf3be4 Mon Sep 17 00:00:00 2001 From: Franck Alary Date: Fri, 9 Aug 2024 23:29:03 +0200 Subject: [PATCH] Studio : fix blocking ui on save failed --- public/MainEvents/Studio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/MainEvents/Studio.js b/public/MainEvents/Studio.js index 5e7da21..1bfea60 100644 --- a/public/MainEvents/Studio.js +++ b/public/MainEvents/Studio.js @@ -140,8 +140,8 @@ function mainEventStudio(mainWindow) { mainWindow.webContents.send('studio-story-save-task', 'story-saving', message, current, total) }, (error) => { - mainWindow.webContents.send('studio-story-save-task', '', '', 0, 0) mainWindow.webContents.send('studio-story-save-error', 'error', error) + mainWindow.webContents.send('studio-story-save-task', '', '', 0, 0) }, () => { }