diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-24 10:59:45 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-06-24 11:00:51 +0200 |
| commit | 35335f3b729ac3bdee23ad076bfc15482d4a0fc7 (patch) | |
| tree | 01b746610612963a69de3264f279c094babb8e8c /menuconfig.py | |
| parent | 7a76c470b5f79d2ed2b8e359c0d99612226dd1e5 (diff) | |
menuconfig: Remove redundant _update_menu() call
The _update_menu() call at the end of _change_node() is redundant,
because _set_val() already calls _update_menu() if the value changes
Diffstat (limited to 'menuconfig.py')
| -rwxr-xr-x | menuconfig.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/menuconfig.py b/menuconfig.py index 24c28d8..6d22797 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1050,8 +1050,6 @@ def _change_node(node): val_index = sc.assignable.index(sc.tri_value) _set_val(sc, sc.assignable[(val_index + 1) % len(sc.assignable)]) - _update_menu() - def _set_sel_node_tri_val(tri_val): # Sets the value of the currently selected menu entry to 'tri_val', if that # value can be assigned |
