mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
clear selection on 'escape' if present
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3210 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7fdf62dd8e
commit
5c0b5fb2cc
@ -652,6 +652,13 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
|
||||
result = UNDISPATCHED;
|
||||
break;
|
||||
|
||||
case LFUN_ESCAPE:
|
||||
if (mathcursor->selection())
|
||||
mathcursor->selClear();
|
||||
else
|
||||
result = UNDISPATCHED;
|
||||
break;
|
||||
|
||||
default:
|
||||
result = UNDISPATCHED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user