mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Set an empty array to disable spell-checker
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
b8adc66898
commit
121bba1f35
@ -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…
Reference in New Issue
Block a user