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
2 files
+ 7
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -186,10 +186,7 @@ class OperationActionBindings(CliveWidget, AbstractClassMessagePump):
account_inputs = self.query(AccountNameInput)
for account_input in account_inputs:
account_name = account_input.value_or_error
if not self.profile.accounts.is_account_known(account_name):
self.profile.accounts.known.add(account_name)
account_input.add_account_to_known()
def ensure_operations_list(self) -> list[OperationUnion]:
operation = self.create_operation()
Loading