From: Uwe Stöhr Date: Wed, 31 Jan 2007 20:41:28 +0000 (+0000) Subject: fix bug 895 X-Git-Tag: 1.6.10~10960 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=76bac515268e2830054c5dd9796e3d4c3a6d0584;hp=a980f1bd61741c7d2ab61ab046fa69460d041bb2;p=lyx.git 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 --- 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"))); }