Fix #36682: disable shift+backspace shortcut to delete all text in text fields,
it's too easy to hit accidentally and isn't a standard shortcut. Deleting all text is quite easy by just pressing backspace right after clicking the text field anyway.
This commit is contained in:
parent
6c5df7567b
commit
630a06dd83
|
@ -2220,7 +2220,7 @@ static void ui_do_but_textedit(bContext *C, uiBlock *block, uiBut *but, uiHandle
|
|||
|
||||
case BACKSPACEKEY:
|
||||
changed = ui_textedit_delete(but, data, 0,
|
||||
event->shift ? STRCUR_JUMP_ALL : (event->ctrl ? STRCUR_JUMP_DELIM : STRCUR_JUMP_NONE));
|
||||
event->ctrl ? STRCUR_JUMP_DELIM : STRCUR_JUMP_NONE);
|
||||
retval = WM_UI_HANDLER_BREAK;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue