Ensure correct field is edited when more than one hidden field is editable.

This commit is contained in:
Michael Drake 2013-09-05 11:26:05 +01:00
parent 8641d5cbda
commit decb4d40f3

View File

@ -2941,7 +2941,7 @@ static bool treeview_edit_node_at_point(treeview *tree, treeview_node *n,
}
tree->edit.node = n;
tree->edit.field = ef->field;
tree->edit.field = field_desc->field;
/* Position the caret */
mouse_x -= field_x;