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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15096 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-09-21 09:46:52 +00:00
parent 9917aca0b7
commit f2dcbec8cb

View File

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