mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
InsetInfo: simplify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
521577ba4c
commit
b6ce46fb94
@ -200,18 +200,14 @@ bool InsetInfo::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
return InsetCollapsable::getStatus(cur, cmd, flag);
|
||||
|
||||
case LFUN_INSET_DIALOG_UPDATE:
|
||||
case LFUN_INSET_MODIFY:
|
||||
case LFUN_INSET_SETTINGS:
|
||||
flag.setEnabled(true);
|
||||
return true;
|
||||
|
||||
case LFUN_INSET_MODIFY:
|
||||
flag.setEnabled(true);
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user