fix wrong commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16504 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-04 14:32:37 +00:00
parent 3772b9f662
commit c8be555d58

View File

@ -516,8 +516,10 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
if (inset) {
FuncRequest fr(LFUN_INSET_MODIFY, cmd.argument());
FuncStatus fs;
// Every inset is supposed to handle this
BOOST_ASSERT(inset->getStatus(cur, fr, fs));
if (!inset->getStatus(cur, fr, fs)) {
// Every inset is supposed to handle this
BOOST_ASSERT(false);
}
flag |= fs;
} else {
FuncRequest fr(LFUN_INSET_INSERT, cmd.argument());