Skip to content
Snippets Groups Projects

Automatically add accounts to a known list after performing the appropriate actions

Merged Jakub Ziebinski requested to merge jziebinski/known-accounts into develop
All threads resolved!
Compare and Show latest version
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -189,7 +189,9 @@ class OperationActionBindings(CliveWidget, AbstractClassMessagePump):
account_inputs = self.query(AccountNameInput)
for account_input in account_inputs:
if account_input.add_to_known:
if account_input.add_to_known and not self.profile.accounts.is_account_known(
account_input.value_or_error
):
account_input.add_account_to_known()
def ensure_operations_list(self) -> list[OperationUnion]:
Loading