mirror of
https://github.com/vector-im/element-desktop.git
synced 2024-08-08 22:43:43 +00:00
Update src/electron-main.js
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
parent
62b6aa26ff
commit
f51acb78e0
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
|||
}
|
||||
break;
|
||||
case 'setSpellCheckLanguages':
|
||||
if (args[0] && args[0] != []) {
|
||||
if (args[0] && args[0].length > 0) {
|
||||
mainWindow.webContents.session.setSpellCheckerLanguages(args[0]);
|
||||
} else {
|
||||
mainWindow.webContents.session.spellcheck = false;
|
||||
|
|
Loading…
Reference in a new issue