mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fix a crashing problem with unknown actions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7925 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eac541985f
commit
506844eca2
@ -1,3 +1,7 @@
|
||||
2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* lyxfunc.C (getStatus): also set flag disabled if it is a unknown
|
||||
action.
|
||||
|
||||
2003-10-15 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
@ -40,7 +44,7 @@
|
||||
boxes. Use the outer paragraph as location (also for unknown
|
||||
tokens).
|
||||
|
||||
* factory.C (readInset): do not abort on reading an unknown inset.
|
||||
* factory.C (readInset): do not abort on reading an unknown inset.
|
||||
Eat it and return 0.
|
||||
|
||||
2003-10-13 Angus Leeming <leeming@lyx.org>
|
||||
|
@ -288,6 +288,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
|
||||
case LFUN_THESAURUS_ENTRY:
|
||||
#endif
|
||||
flag.unknown(true);
|
||||
flag.disabled(true);
|
||||
break;
|
||||
default:
|
||||
flag |= lyx_gui::getStatus(ev);
|
||||
|
Loading…
Reference in New Issue
Block a user