Plugin Captions Selector - Add disable captions by default

This commit is contained in:
Fermin Cirella
2022-10-22 01:49:16 -03:00
parent c8a852bf2e
commit 938210e8f9
4 changed files with 39 additions and 9 deletions

View File

@ -1,8 +1,8 @@
const { ipcMain, dialog } = require("electron");
module.exports = () => {
ipcMain.handle('captionsSelector', async (_, captionLabels, currentIndex) => {
return await dialog.showMessageBox({
ipcMain.handle('captionsSelector', async (_, captionLabels, currentIndex) => {
return await dialog.showMessageBox({
type: "question",
buttons: captionLabels,
defaultId: currentIndex,