private void Account_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
if (e.PropertyName == "is_default_account") {
if (!is_default_account) {
DelayedFunction.DelayedCall("Account_ensure_default", ensure_default_account, 500);
return;
}
foreach (Account account in accounts)
if (account != this)
account.is_default_account = false;
default_account = this;
}
}