mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +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>
|
2003-10-15 André Pönitz <poenitz@gmx.net>
|
||||||
|
|
||||||
|
@ -288,6 +288,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
|
|||||||
case LFUN_THESAURUS_ENTRY:
|
case LFUN_THESAURUS_ENTRY:
|
||||||
#endif
|
#endif
|
||||||
flag.unknown(true);
|
flag.unknown(true);
|
||||||
|
flag.disabled(true);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
flag |= lyx_gui::getStatus(ev);
|
flag |= lyx_gui::getStatus(ev);
|
||||||
|
Loading…
Reference in New Issue
Block a user