Skip to content

Commit 6d7ce0a

Browse files
committed
Fix having the account color reset when editing an account.
Fixes #620
1 parent d95b5ae commit 6d7ce0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/org/gnucash/android/ui/account/AccountFormFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ private void initializeViewsWithAccount(Account account){
408408
}
409409

410410
mPlaceholderCheckBox.setChecked(account.isPlaceholderAccount());
411+
mSelectedColor = account.getColor();
411412
mColorSquare.setBackgroundColor(account.getColor());
412413

413414
setAccountTypeSelection(account.getAccountType());

0 commit comments

Comments
 (0)