mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
add onoff support for "inset-modify changetype xxx" in include inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30305 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2efcbb74d6
commit
4594b1425b
@ -302,7 +302,13 @@ bool InsetInclude::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
switch (cmd.action) {
|
||||
|
||||
case LFUN_INSET_EDIT:
|
||||
flag.setEnabled(true);
|
||||
return true;
|
||||
|
||||
case LFUN_INSET_MODIFY:
|
||||
if (cmd.getArg(0) == "changetype")
|
||||
return InsetCommand::getStatus(cur, cmd, flag);
|
||||
else
|
||||
flag.setEnabled(true);
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user