mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Merge branch 'feature-multi-language-spell-check' of https://github.com/SimonBrandner/element-desktop into feature-multi-language-spell-check
This commit is contained in:
commit
48d66c0031
@ -386,7 +386,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'setSpellCheckLanguages':
|
case 'setSpellCheckLanguages':
|
||||||
if (args[0] && args[0] != []) {
|
if (args[0] && args[0].length > 0) {
|
||||||
mainWindow.webContents.session.setSpellCheckerLanguages(args[0]);
|
mainWindow.webContents.session.setSpellCheckerLanguages(args[0]);
|
||||||
} else {
|
} else {
|
||||||
mainWindow.webContents.session.spellcheck = false;
|
mainWindow.webContents.session.spellcheck = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user