* src/Text3.cpp:

- revert accidental commit in r20311.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20316 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-09-16 14:31:48 +00:00
parent d61a106b0d
commit 171fb900e4

View File

@ -1289,21 +1289,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
break;
}
case LFUN_INDEX_INSERT: {
Inset * inset = createInset(&cur.bv(), cmd);
if (!inset)
break;
insertInset(cur, inset);
inset->edit(cur, true);
// Show the dialog for the index entry, because it
// needs to be modified in most instances
if (cmd.action == LFUN_INDEX_INSERT)
InsetCommandMailer("index",
*reinterpret_cast<InsetCommand *>(inset)).showDialog(&cur.bv());
cur.posRight();
break;
}
case LFUN_INDEX_INSERT:
case LFUN_NOMENCL_INSERT: {
Inset * inset = createInset(&cur.bv(), cmd);
if (!inset)