Handle LFUN_IN_MATHMACROTEMPLATE for non mathmacro insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34163 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-04-16 15:42:33 +00:00
parent 6708d2da7e
commit 1c22b41b6e

View File

@ -385,6 +385,11 @@ bool Inset::getStatus(Cursor &, FuncRequest const & cmd,
return false;
}
case LFUN_IN_MATHMACROTEMPLATE:
// By default we're not in a MathMacroTemplate inset
flag.setEnabled(false);
return true;
default:
break;
}