Commit 2e4c23fd authored by Nicolas Jager's avatar Nicolas Jager

fix : systematical deletion of account after edit

Change-Id: Ibcf052a78288af59fba58bd36982cf885d6d0777
Tuleap: #1251
parent f3ad2c07
......@@ -762,7 +762,7 @@ void RingClientUWP::Views::SmartPanel::_acceptAccountModification__Click(Platfor
auto accountsListSize = dynamic_cast<Vector<AccountListItem^>^>(_accountsList_->ItemsSource)->Size;
/* if the delete button is toggled, just delete the account */
if (_deleteAccountBtnEditionMenu_->IsChecked && accountsListSize > 1) {
if ( _deleteAccountBtnEditionMenu_->IsChecked->Value == true && accountsListSize > 1) {
AccountListItem^ item;
for each (item in AccountListItemsViewModel::instance->itemsList)
if (item->_account->accountID_ == accountId)
......
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