]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTabular.cpp
Inset::translate() -> lyx::insetCode()
[features.git] / src / insets / InsetTabular.cpp
index a5bd3a60743f54840dda4a3790b6a5f2e810e4c3..7041004107d2ccc7221a7f7153384ecb551775e3 100644 (file)
@@ -3753,7 +3753,7 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
                        return cell(cur.idx())->getStatus(cur, cmd, status);
 
        case LFUN_INSET_MODIFY:
-               if (translate(cmd.getArg(0)) == TABULAR_CODE) {
+               if (insetCode(cmd.getArg(0)) == TABULAR_CODE) {
                        status.enabled(true);
                        return true;
                }