Skip to content
Snippets Groups Projects
Commit 9d8fd5da authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Andreas Traczyk
Browse files

misc: avoid duplicate account combo box refresh

refresh is already performed on property change

Change-Id: I274d22e131e628db40f6a91c425fc72369310117
parent 3735cf0d
Branches
Tags
No related merge requests found
...@@ -121,7 +121,6 @@ Window { ...@@ -121,7 +121,6 @@ Window {
} }
function newAccountAdded(index) { function newAccountAdded(index) {
mainViewWindowSidePanel.refreshAccountComboBox(index)
AccountAdapter.accountChanged(index) AccountAdapter.accountChanged(index)
} }
...@@ -235,7 +234,6 @@ Window { ...@@ -235,7 +234,6 @@ Window {
callStackView.responsibleConvUid = convUid callStackView.responsibleConvUid = convUid
callStackView.updateCorrespondingUI() callStackView.updateCorrespondingUI()
mainViewWindowSidePanel.refreshAccountComboBox(index)
AccountAdapter.accountChanged(index) AccountAdapter.accountChanged(index)
ConversationsAdapter.selectConversation(accountId, convUid, !fromNotification) ConversationsAdapter.selectConversation(accountId, convUid, !fromNotification)
MessagesAdapter.setupChatView(convUid) MessagesAdapter.setupChatView(convUid)
...@@ -310,7 +308,6 @@ Window { ...@@ -310,7 +308,6 @@ Window {
onAccountChanged: { onAccountChanged: {
mainViewWindowSidePanel.deselectConversationSmartList() mainViewWindowSidePanel.deselectConversationSmartList()
mainViewWindowSidePanel.refreshAccountComboBox(index)
AccountAdapter.accountChanged(index) AccountAdapter.accountChanged(index)
settingsView.slotAccountListChanged() settingsView.slotAccountListChanged()
...@@ -552,7 +549,6 @@ Window { ...@@ -552,7 +549,6 @@ Window {
visible: false visible: false
onSettingsViewWindowNeedToShowMainViewWindow: { onSettingsViewWindowNeedToShowMainViewWindow: {
mainViewWindowSidePanel.refreshAccountComboBox(0)
AccountAdapter.accountChanged(0) AccountAdapter.accountChanged(0)
toggleSettingsView() toggleSettingsView()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment