From: Jeffrey Middleton Date: Thu, 12 Mar 2009 14:41:56 +0000 (-0500) Subject: Disabled visual selection in keydef screen X-Git-Tag: release-0.14~66 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d4586df2488b0dfa9804674e0b6682d5bf9257c8;p=ncmpc.git 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. --- 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;