X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLabel.cpp;h=6f006a1288160d508d41bc0f50ed9b66dc68a33c;hb=142caff8336c54627606c09d3ce5bb7de7a8adb6;hp=7edd1aaca832936bdb61baf4706ff93455bae29b;hpb=44bb53b57a25e95bf30d37cf40d9820e62d7617a;p=lyx.git diff --git a/src/insets/InsetLabel.cpp b/src/insets/InsetLabel.cpp index 7edd1aaca8..6f006a1288 100644 --- a/src/insets/InsetLabel.cpp +++ b/src/insets/InsetLabel.cpp @@ -177,7 +177,7 @@ bool InsetLabel::getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & status) const { bool enabled; - switch (cmd.action) { + switch (cmd.action()) { case LFUN_LABEL_INSERT_AS_REF: case LFUN_LABEL_COPY_AS_REF: enabled = true; @@ -193,7 +193,7 @@ bool InsetLabel::getStatus(Cursor & cur, FuncRequest const & cmd, void InsetLabel::doDispatch(Cursor & cur, FuncRequest & cmd) { - switch (cmd.action) { + switch (cmd.action()) { case LFUN_INSET_MODIFY: { InsetCommandParams p(LABEL_CODE);