/*
- * Copyright © 2019 Damyan Ivanov.
+ * Copyright © 2020 Damyan Ivanov.
* This file is part of MoLe.
* MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
LedgerAccount acc = profile.tryLoadAccount(db, aName);
if (acc == null) {
acc = new LedgerAccount(aName);
- acc.setHiddenByStar(lastAccount.isHiddenByStar());
acc.setExpanded(!lastAccount.hasSubAccounts() ||
lastAccount.isExpanded());
}