From 4b36054d6a7bd9786f674e487c26b18bb1bdd1c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Mon, 18 Mar 2024 18:03:58 +0100 Subject: [PATCH] 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 --- ui/app/AppLayouts/Profile/views/WalletView.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Profile/views/WalletView.qml b/ui/app/AppLayouts/Profile/views/WalletView.qml index 1f1f582aa4..c74dbec65c 100644 --- a/ui/app/AppLayouts/Profile/views/WalletView.qml +++ b/ui/app/AppLayouts/Profile/views/WalletView.qml @@ -71,9 +71,10 @@ SettingsContentBase { manageTokensView.saveChanges() } onSaveChangesClicked: { + manageTokensView.saveChanges() + if (manageTokensView.advancedTabVisible) { - // Save changes only when tab is active - manageTokensView.saveChanges() + // don't emit toasts when the Advanced tab is visible return }