* lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15094 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-09-21 09:29:54 +00:00
parent 94d391b183
commit 24e0a84407
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-09-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831)
2006-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* BufferView_pimpl.C (Pimpl, focusChange): revert patch to bug 2423.

View File

@ -415,7 +415,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
break;
case LFUN_RUNCHKTEX:
enable = buf->isLatex() && lyxrc.chktex_command != "none";
enable = buf->isLatex() && !lyxrc.chktex_command.empty();
break;
case LFUN_BUILDPROG:

View File

@ -121,6 +121,9 @@ What's new
- Update labels on screen when changing language.
- Make sure that the "Check TeX" menu entry is not available when the
chktex tool has not been configured (bug 2831).
- Fix doubling of initial character when correcting a word with
ligatures in spellechecker (bug 2068).