cf: add support for deselecting arrows

Use the same keybinding ACTION_CLEAR that is used in call list
to deselect rows (default Cltr+W).
This commit is contained in:
Kaian 2017-01-26 13:37:19 +01:00
parent 9a08a8a46e
commit 494f96e1cd

View File

@ -1163,6 +1163,9 @@ call_flow_handle_key(ui_t *ui, int key)
} }
} }
break; break;
case ACTION_CLEAR:
info->selected = -1;
break;
case ACTION_CONFIRM: case ACTION_CONFIRM:
// KEY_ENTER, display current message in raw mode // KEY_ENTER, display current message in raw mode
ui_create_panel(PANEL_CALL_RAW); ui_create_panel(PANEL_CALL_RAW);