Commit dbb41561 authored by Alexandre Bourget's avatar Alexandre Bourget

SFLphone-GTK: ADD and UPDATE new/old accounts when required

It would only 'add' accounts before (even when we clicked on an existing one
to edit it).
parent 55387924
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment