mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 03:40:34 +00:00
* 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:
parent
d61a106b0d
commit
171fb900e4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user