switch tab when dialing from the history

Conflicts:

	sflphone-gtk/src/actions.c
This commit is contained in:
Emmanuel Milou
2008-05-12 17:34:46 -04:00
parent a35059c5a2
commit a56a767f11

View File

@ -497,8 +497,8 @@ sflphone_keypad( guint keyval, gchar * key)
case CALL_STATE_DIALING: // Currently dialing => edit number
//dbus_play_dtmf(key);
process_dialing(c, keyval, key);
//if( active_calltree == history )
//switch_tab();
if( active_calltree == history )
switch_tab();
break;
case CALL_STATE_CURRENT:
switch (keyval)
@ -595,6 +595,8 @@ sflphone_keypad( guint keyval, gchar * key)
case 65307: /* ESCAPE */
break;
default:
if( active_calltree == history )
switch_tab();
process_dialing(sflphone_new_call(), keyval, key);
break;
}