diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-11 02:05:09 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-11 02:05:09 +0200 |
| commit | 1f2e2d014bad6ce028048aaca36118377d70640f (patch) | |
| tree | ca923984be43421ec037881cb38216b278848216 /menuconfig.py | |
| parent | 9811256272092137ab3f04586e21c45ce8bea8c1 (diff) | |
menuconfig: Code style nit
Diffstat (limited to 'menuconfig.py')
| -rwxr-xr-x | menuconfig.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/menuconfig.py b/menuconfig.py index 3bc3cc6..230547d 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1396,13 +1396,10 @@ def _jump_to_dialog(): c = _get_wch_compat(edit_box) if c == "\n": - if not matches: - continue - - _jump_to(matches[sel_node_i][0]) - - _safe_curs_set(0) - return + if matches: + _jump_to(matches[sel_node_i][0]) + _safe_curs_set(0) + return if c == "\x1B": # \x1B = ESC _safe_curs_set(0) |
