mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-02-07 17:02:29 +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