Skip to content
Snippets Groups Projects
Commit a56a767f authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

switch tab when dialing from the history

Conflicts:

	sflphone-gtk/src/actions.c
parent a35059c5
Branches
Tags
No related merge requests found
...@@ -497,8 +497,8 @@ sflphone_keypad( guint keyval, gchar * key) ...@@ -497,8 +497,8 @@ sflphone_keypad( guint keyval, gchar * key)
case CALL_STATE_DIALING: // Currently dialing => edit number case CALL_STATE_DIALING: // Currently dialing => edit number
//dbus_play_dtmf(key); //dbus_play_dtmf(key);
process_dialing(c, keyval, key); process_dialing(c, keyval, key);
//if( active_calltree == history ) if( active_calltree == history )
//switch_tab(); switch_tab();
break; break;
case CALL_STATE_CURRENT: case CALL_STATE_CURRENT:
switch (keyval) switch (keyval)
...@@ -595,6 +595,8 @@ sflphone_keypad( guint keyval, gchar * key) ...@@ -595,6 +595,8 @@ sflphone_keypad( guint keyval, gchar * key)
case 65307: /* ESCAPE */ case 65307: /* ESCAPE */
break; break;
default: default:
if( active_calltree == history )
switch_tab();
process_dialing(sflphone_new_call(), keyval, key); process_dialing(sflphone_new_call(), keyval, key);
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment