fix bug 895

http://bugzilla.lyx.org/show_bug.cgi?id=895

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16992 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-01-31 20:41:28 +00:00
parent a980f1bd61
commit 76bac51526

View File

@ -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")));
}