fix(@desktop/wallet): The issue is that when switching between SavedAddresses to Account, the NetworkFilter was toggling a network causing the selection to be reset
now we only do it when multiselection is false
This commit is contained in:
parent
184745cf1b
commit
c290562ce1
|
@ -39,7 +39,7 @@ StatusComboBox {
|
|||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
if (d.currentModel.count > 0) {
|
||||
if (!multiSelection && d.currentModel.count > 0) {
|
||||
d.selectedChainName = d.currentModel.rowData(d.currentIndex, "chainName")
|
||||
d.selectedIconUrl = d.currentModel.rowData(d.currentIndex, "iconUrl")
|
||||
root.toggleNetwork(ModelUtils.get(d.currentModel, d.currentIndex))
|
||||
|
|
Loading…
Reference in New Issue