]> git.ktnx.net Git - mobile-ledger.git/commitdiff
toggle_all_editting(): include the date and the description
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Dec 2018 17:13:00 +0000 (17:13 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Dec 2018 17:13:00 +0000 (17:13 +0000)
app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java

index 76b0224a368a40ed3613f5c8c5c3f6d1b7cc87c1..53cbc905d62cad18d25aa3abc7e4c2a3958a2882 100644 (file)
@@ -145,6 +145,8 @@ public class NewTransactionActivity extends AppCompatActivity implements TaskCal
     }
 
     private void toggle_all_editing(boolean enabled) {
+        text_date.setEnabled(enabled);
+        text_descr.setEnabled(enabled);
         TableLayout table = findViewById(R.id.new_transaction_accounts_table);
         for (int i = 0; i < table.getChildCount(); i++) {
             TableRow row = (TableRow) table.getChildAt(i);