mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Handle change-accept and change-reject in multi-cell selection
Fixes #8426
This commit is contained in:
parent
c0f4eb0580
commit
da5ad1736a
@ -5039,6 +5039,8 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
}
|
||||
break;
|
||||
|
||||
case LFUN_CHANGE_ACCEPT:
|
||||
case LFUN_CHANGE_REJECT:
|
||||
case LFUN_FONT_EMPH:
|
||||
case LFUN_FONT_BOLD:
|
||||
case LFUN_FONT_BOLDSYMBOL:
|
||||
@ -5083,6 +5085,10 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
cell(tmpcur.idx())->dispatch(tmpcur, cmd);
|
||||
}
|
||||
}
|
||||
if (act == LFUN_CHANGE_ACCEPT || act == LFUN_CHANGE_REJECT) {
|
||||
// cursor might be invalid
|
||||
cur.fixIfBroken();
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
cell(cur.idx())->dispatch(cur, cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user