mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Spellchecker: fix bug with bundled/user dictionary differentioation
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ public class SpellCheckerSettingsPane implements Disposable {
|
||||
private boolean isUserDictionary(final String dictionary) {
|
||||
boolean isUserDictionary = false;
|
||||
for (String dictionaryFolder : pathsChooserComponent.getValues()) {
|
||||
if (dictionary.startsWith(dictionaryFolder)) {
|
||||
if (FileUtil.toSystemIndependentName(dictionary).startsWith(dictionaryFolder)) {
|
||||
isUserDictionary = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user