Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-uwp
Commits
2e4c23fd
Commit
2e4c23fd
authored
Oct 26, 2016
by
Nicolas Jager
Browse files
fix : systematical deletion of account after edit
Change-Id: Ibcf052a78288af59fba58bd36982cf885d6d0777 Tuleap: #1251
parent
f3ad2c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
SmartPanel.xaml.cpp
View file @
2e4c23fd
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment