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

Switch to current_calls tab on incoming call

parent 3befd42f
No related branches found
No related tags found
No related merge requests found
...@@ -388,8 +388,8 @@ sflphone_incoming_call (call_t * c) ...@@ -388,8 +388,8 @@ sflphone_incoming_call (call_t * c)
call_list_add ( current_calls, c ); call_list_add ( current_calls, c );
call_list_add( history, c ); call_list_add( history, c );
update_call_tree_add( current_calls , c ); update_call_tree_add( current_calls , c );
//update_call_tree_add( history , c );
update_menus(); update_menus();
if( active_calltree == history ) switch_tab();
} }
void void
...@@ -497,10 +497,7 @@ sflphone_keypad( guint keyval, gchar * key) ...@@ -497,10 +497,7 @@ sflphone_keypad( guint keyval, gchar * key)
switch(c->state) switch(c->state)
{ {
case CALL_STATE_DIALING: // Currently dialing => edit number case CALL_STATE_DIALING: // Currently dialing => edit number
//dbus_play_dtmf(key);
process_dialing(c, keyval, key); process_dialing(c, keyval, key);
if( active_calltree == history )
switch_tab();
break; break;
case CALL_STATE_CURRENT: case CALL_STATE_CURRENT:
switch (keyval) switch (keyval)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment