From d4586df2488b0dfa9804674e0b6682d5bf9257c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Middleton Date: Thu, 12 Mar 2009 09:41:56 -0500 Subject: [PATCH] Disabled visual selection in keydef screen If we someday have a command like "reset to default" we may want this back, but for now, no commands have multiple-selection meanings on the keydef screen. --- src/screen_keydef.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/screen_keydef.c b/src/screen_keydef.c index c37d3f1..1ffee6b 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -300,6 +300,9 @@ keydef_cmd(G_GNUC_UNUSED mpdclient_t *c, command_t cmd) if (subcmd >= 0) length = subcmd_length; + if (cmd == CMD_LIST_VISUAL_SELECT) + return false; + if (list_window_cmd(lw, length, cmd)) { keydef_repaint(); return true; -- 2.30.2