PATCH: Asset dialog show/hide controls [Added]

Money Manager Ex Development related posts
(http://github.moneymanagerex.org/)

Moderator: Renato

Post Reply
omalleypat
MMEX Developer
Posts: 112
Joined: Tue Jul 28, 2009 10:34 pm
Are you a spam bot?: No
Location: Atchison, KS

PATCH: Asset dialog show/hide controls [Added]

Post by omalleypat »

Currently if you edit a transaction that has no appreciation it shows -1 in the rate, which is how it is stored in the db but looks strange to display to the user...

Here is a patch to set rate of change of an asset to 0 in the display if appreciation type is "None". Also if type is "none" the user cannot edit the rate.
Attachments
assetdialog.diff.zip
asset dialog
(1.5 KiB) Downloaded 313 times

Nikolay
MMEX Developer
Posts: 1387
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: PATCH: Asset dialog show/hide controls

Post by Nikolay »

668

Post Reply