mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
add a checkbox to current document in document list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3521 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af7a06dd86
commit
e369d83035
@ -1,3 +1,8 @@
|
||||
2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
|
||||
document menu has a nice checkbox
|
||||
|
||||
2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lyxlength.C (asLatexString): change PW to output as percent of
|
||||
|
@ -676,6 +676,12 @@ FuncStatus LyXFunc::getStatus(kb_action action,
|
||||
case LFUN_APPENDIX:
|
||||
flag.setOnOff(TEXT(false)->cursor.par()->params().startOfAppendix());
|
||||
break;
|
||||
case LFUN_SWITCHBUFFER:
|
||||
// toggle on the current buffer, but do not toggle off
|
||||
// the other ones (is that a good idea?)
|
||||
if (argument == buf->fileName())
|
||||
flag.setOnOff(true);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user