Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-client-windows
Commits
10523bf3
Commit
10523bf3
authored
Dec 31, 2018
by
Andreas Traczyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounts: fix account deletion navigation
Change-Id: I8655b2a5840c81b20b5827cc685790016e648245
parent
a3b984f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
currentaccountcombobox.cpp
currentaccountcombobox.cpp
+4
-1
settingswidget.cpp
settingswidget.cpp
+3
-1
No files found.
currentaccountcombobox.cpp
View file @
10523bf3
...
...
@@ -230,5 +230,8 @@ CurrentAccountComboBox::leaveEvent(QEvent* event)
void
CurrentAccountComboBox
::
updateComboBoxDisplay
()
{
importLabelPhoto
(
LRCInstance
::
getCurrentAccountIndex
());
auto
currAccIndex
=
LRCInstance
::
getCurrentAccountIndex
();
if
(
currAccIndex
!=
currentIndex
())
setCurrentIndex
(
currAccIndex
);
importLabelPhoto
(
currAccIndex
);
}
settingswidget.cpp
View file @
10523bf3
...
...
@@ -502,9 +502,11 @@ SettingsWidget::delAccountSlot()
DeleteAccountDialog
delDialog
(
this
);
delDialog
.
exec
();
LRCInstance
::
setSelectedAccountId
(
""
);
if
(
!
LRCInstance
::
accountModel
().
getAccountList
().
size
())
{
LRCInstance
::
setSelectedAccountId
(
""
);
emit
NavigationRequested
(
ScreenEnum
::
WizardScreen
);
}
else
{
emit
NavigationRequested
(
ScreenEnum
::
CallScreen
);
}
}
...
...
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