mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
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:
parent
3772b9f662
commit
c8be555d58
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user