mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* 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:
parent
9917aca0b7
commit
f2dcbec8cb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user