Add comment.

This commit is contained in:
Richard Heck 2014-03-05 18:06:30 -05:00
parent 95a4fd0bbe
commit f5a7aebdfa

View File

@ -218,6 +218,8 @@ void InsetLabel::doDispatch(Cursor & cur, FuncRequest & cmd)
switch (cmd.action()) {
case LFUN_INSET_MODIFY: {
// the only other option here is "changetype", and we
// do not have different types.
if (cmd.getArg(0) != "label") {
cur.undispatched();
return;