InsetInfo: simplify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29317 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-04-18 17:02:48 +00:00
parent 521577ba4c
commit b6ce46fb94

View File

@ -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;
}