fix(WalletView): apply to wallet doesn't apply the order
- we _always_ want to save the changes, it's the toasts that we don't want to see when looking at the Advanced tab Fixes #14016
This commit is contained in:
parent
8e0f5f9487
commit
4b36054d6a
|
@ -71,9 +71,10 @@ SettingsContentBase {
|
||||||
manageTokensView.saveChanges()
|
manageTokensView.saveChanges()
|
||||||
}
|
}
|
||||||
onSaveChangesClicked: {
|
onSaveChangesClicked: {
|
||||||
if (manageTokensView.advancedTabVisible) {
|
|
||||||
// Save changes only when tab is active
|
|
||||||
manageTokensView.saveChanges()
|
manageTokensView.saveChanges()
|
||||||
|
|
||||||
|
if (manageTokensView.advancedTabVisible) {
|
||||||
|
// don't emit toasts when the Advanced tab is visible
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue