X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlPrefs.C;h=7addfccd0616d1ed5f76ec21c8c8a96ddcb7f748;hb=76bac515268e2830054c5dd9796e3d4c3a6d0584;hp=17a2538c0a960c7e0e0cf5797e35a1dc7d37e3e4;hpb=3d2184730a436d56dd4e3ddad1f067d8bb14200e;p=lyx.git diff --git a/src/frontends/controllers/ControlPrefs.C b/src/frontends/controllers/ControlPrefs.C index 17a2538c0a..7addfccd06 100644 --- a/src/frontends/controllers/ControlPrefs.C +++ b/src/frontends/controllers/ControlPrefs.C @@ -132,9 +132,14 @@ docstring const ControlPrefs::browsekbmap(docstring const & file) const docstring const ControlPrefs::browsedict(docstring const & file) const { - return browseFile(file, - _("Choose personal dictionary"), - FileFilterList(_("*.ispell"))); + if (lyxrc.use_spell_lib) + return browseFile(file, + _("Choose personal dictionary"), + FileFilterList(_("*.pws"))); + else + return browseFile(file, + _("Choose personal dictionary"), + FileFilterList(_("*.ispell"))); }