https://bugs.kde.org/show_bug.cgi?id=501815
--- Comment #1 from yzg <email200...@yahoo.com> --- Suggested fix: --- onlinebalancedelegate.cpp 2025-03-21 19:55:20.508887229 +1100 +++ onlinebalancedelegate.cpp.new 2025-03-21 19:53:28.868843506 +1100 @@ -148,9 +148,10 @@ } const auto onlineBalanceValue = index.data(eMyMoney::Model::AccountOnlineBalanceValueRole).value<MyMoneyMoney>(); const auto accountId(index.data(eMyMoney::Model::IdRole).toString()); + const MyMoneyMoney showValuesInverted = index.data(eMyMoney::Model::ShowValueInvertedRole).toBool() ? MyMoneyMoney::MINUS_ONE : MyMoneyMoney::ONE; auto accountBalance(onlineBalanceValue); if (!accountId.isEmpty()) { - accountBalance = MyMoneyFile::instance()->balance(accountId, onlineBalanceDate); + accountBalance = MyMoneyFile::instance()->balance(accountId, onlineBalanceDate) * showValuesInverted; onlineBalanceValueTxt = onlineBalanceValue.formatMoney(index.data(eMyMoney::Model::AccountFractionRole).toInt()); } -- You are receiving this mail because: You are the assignee for the bug.