]> git.ktnx.net Git - mobile-ledger.git/commitdiff
focus the first amount after loading a previous transaction
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 28 Feb 2021 17:32:55 +0000 (19:32 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 1 Mar 2021 06:00:42 +0000 (06:00 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java

index 23be3eaf0a4734495c132f8a394aaf9538d8add4..ac0cf4b39a703ac1f57669705f37b6db3a4b80df 100644 (file)
@@ -463,9 +463,9 @@ public class NewTransactionModel extends ViewModel {
             moveItemLast(newList, singlePositiveIndex);
         }
 
-        noteFocusChanged(1, FocusedElement.Description);
-
         setItems(newList);
+
+        noteFocusChanged(1, FocusedElement.Amount);
     }
     /**
      * A transaction is submittable if: