mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Fixed spell checker crash when no language is selected
This commit is contained in:
parent
03942a0073
commit
a48e5cd4e8
@ -22,7 +22,7 @@ export default class SpellCheckerServiceDriverNative extends SpellCheckerService
|
||||
// If we pass an empty array, it disables spell checking
|
||||
// https://github.com/electron/electron/issues/25228
|
||||
if (!v) {
|
||||
this.session().setSpellCheckerLanguages('');
|
||||
this.session().setSpellCheckerLanguages([]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user