mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
disable the del-suppresses-equation-label-at-end feature (not easy to describe, is it?) when there is a selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31600 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
78a8c60d78
commit
60dca30530
@ -1259,7 +1259,8 @@ void InsetMathHull::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
case LFUN_WORD_DELETE_FORWARD:
|
||||
case LFUN_CHAR_DELETE_FORWARD:
|
||||
if (col(cur.idx()) + 1 == ncols()
|
||||
&& cur.pos() == cur.lastpos()) {
|
||||
&& cur.pos() == cur.lastpos()
|
||||
&& !cur.selection()) {
|
||||
if (!label(row(cur.idx())).empty()) {
|
||||
cur.recordUndoInset();
|
||||
label(row(cur.idx()), docstring());
|
||||
|
Loading…
Reference in New Issue
Block a user