[kmymoney] [Bug 491828] Currency settings show incorrect
Ralf Habacker
bugzilla_noreply at kde.org
Tue Aug 20 00:57:28 BST 2024
https://bugs.kde.org/show_bug.cgi?id=491828
--- Comment #8 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Ralf Habacker from comment #4)
...
> editing currency "Türkische Lira (alt)" "TL" 100 100
> cash precision 2 "0,01 Ç"
> account precision 2 "0,01 Ç"
...
> editing currency "Bitcoin" "BTC" 100000000 100000000
> cash precision 8 "0,00 Ç"
> account precision 8 "0,00 Ç"
>
> which is still using currency "TL" -> The currency used has not been updated.
This issue is caused by using
smallestFraction.formatMoney(QString(), precision)
by changing this call to use currency.name() instead
smallestFraction.formatMoney(currency.name(), precision)
and with the fix mentioned in comment 7 I get
cash precision 8 "0,00000001 Bitcoin"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list