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:
Lukáš Tinkl 2024-03-18 18:03:58 +01:00 committed by Lukáš Tinkl
parent 8e0f5f9487
commit 4b36054d6a
1 changed files with 3 additions and 2 deletions

View File

@ -71,9 +71,10 @@ SettingsContentBase {
manageTokensView.saveChanges()
}
onSaveChangesClicked: {
if (manageTokensView.advancedTabVisible) {
// Save changes only when tab is active
manageTokensView.saveChanges()
if (manageTokensView.advancedTabVisible) {
// don't emit toasts when the Advanced tab is visible
return
}