diff --git a/sflphone-gtk/src/accountwindow.c b/sflphone-gtk/src/accountwindow.c index a6d54647e969fa7f7b489561300bb8e416bad261..37fd38a5c213ba2ad7469698a1af25079444681c 100644 --- a/sflphone-gtk/src/accountwindow.c +++ b/sflphone-gtk/src/accountwindow.c @@ -308,7 +308,13 @@ show_account_window (account_t * a) } - dbus_add_account(currentAccount); + /** @todo Verify if it's the best condition to check */ + if (currentAccount->accountID == NULL) { + dbus_add_account(currentAccount); + } + else { + dbus_set_account_details(currentAccount); + } } gtk_widget_destroy (GTK_WIDGET(dialog));