ui: fix file-open when no filter text entered
commitb9fa048e20e72bc5b18365d7fe3e4361f6d99bb1
authorEric Sunshine <sunshine@sunshineco.com>
Thu, 9 Apr 2015 08:37:21 +0000 (9 04:37 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Thu, 9 Apr 2015 11:44:31 +0000 (9 07:44 -0400)
tree1a3d14ca17e3713bf7b67b8aeafc4d29cd2e8e18
parent395b2c3be8fd3f922aac66e598b593030daeed8f
ui: fix file-open when no filter text entered

In the file finder, the ENTER key opens the blob view for the selected
file, however, this only works when filter text has been entered in
"Find file:" field. If the field is empty, ENTER is incorrectly treated
as a cancellation (ESC) request. Fix this.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Jonas Fonseca <jonas.fonseca@gmail.com>
src/ui.c