]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
Fix a copy-paste error introduced in b754fb02
[lyx.git] / src / Text3.cpp
index ce6811452700f437ba63459a2d9806c3a78c539e..9bb3f256d4d12ceacc2d7f2bb00a6139bbb24ab0 100644 (file)
@@ -1649,6 +1649,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
        case LFUN_INDEX_INSERT:
        case LFUN_PREVIEW_INSERT:
        case LFUN_SCRIPT_INSERT:
+       case LFUN_IPA_INSERT:
                // Open the inset, and move the current selection
                // inside it.
                doInsertInset(cur, this, cmd, true, true);
@@ -2445,6 +2446,9 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
                    && cur.buffer()->params().branchlist().empty())
                        enable = false;
                break;
+       case LFUN_IPA_INSERT:
+               code = IPA_CODE;
+               break;
        case LFUN_PHANTOM_INSERT:
                code = PHANTOM_CODE;
                break;