From 171fb900e47e42c7433b4b9a4705ff19aad1e51f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 16 Sep 2007 14:31:48 +0000 Subject: [PATCH] * 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 --- src/Text3.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index 408cebebf1..6b3701e9a4 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -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(inset)).showDialog(&cur.bv()); - cur.posRight(); - break; - } - + case LFUN_INDEX_INSERT: case LFUN_NOMENCL_INSERT: { Inset * inset = createInset(&cur.bv(), cmd); if (!inset)