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
commit 6edc4cb965
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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':