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:
Brecht Van Lommel 2013-09-09 14:23:47 +00:00
parent 6c5df7567b
commit 630a06dd83
1 changed files with 1 additions and 1 deletions

View File

@ -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;