Merge pull request #171 from SimonBrandner/fix-disabling-spell-check

Fix disabling spell-checker
This commit is contained in:
J. Ryan Stinnett
2021-03-08 14:11:20 +00:00
committed by GitHub

View File

@@ -393,7 +393,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
console.log("There were problems setting the spellcheck languages", er);
}
} else {
mainWindow.webContents.session.spellcheck = false;
mainWindow.webContents.session.setSpellCheckerLanguages([]);
}
break;
case 'getSpellCheckLanguages':