Make CR also stop and save tree edits

svn path=/trunk/netsurf/; revision=10892
This commit is contained in:
Chris Young 2010-10-17 13:00:51 +00:00
parent 07c62407e2
commit c5b9e45960
1 changed files with 1 additions and 0 deletions

View File

@ -2438,6 +2438,7 @@ bool tree_keypress(struct tree *tree, uint32_t key)
tree_stop_edit(tree, false);
return true;
case KEY_NL:
case KEY_CR:
tree_stop_edit(tree, true);
return true;
default: