mirror of
https://github.com/element-hq/element-desktop
synced 2025-03-12 23:43:43 +01:00
Merge pull request #171 from SimonBrandner/fix-disabling-spell-check
Fix disabling spell-checker
This commit is contained in:
commit
6edc4cb965
@ -393,7 +393,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
|||||||
console.log("There were problems setting the spellcheck languages", er);
|
console.log("There were problems setting the spellcheck languages", er);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mainWindow.webContents.session.spellcheck = false;
|
mainWindow.webContents.session.setSpellCheckerLanguages([]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'getSpellCheckLanguages':
|
case 'getSpellCheckLanguages':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user