Skip to content

Commit

Permalink
Studio : fix blocking ui on save failed
Browse files Browse the repository at this point in the history
  • Loading branch information
DantSu committed Aug 9, 2024
1 parent 954fe58 commit d92ca3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/MainEvents/Studio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
() => {
}
Expand Down

0 comments on commit d92ca3e

Please sign in to comment.