It will be helpful if amount sign could be automatically added if absent when quitting the widget. Currently, it is added only when add/modify operation. Reproducible: Always Steps to Reproduce: 1. In amount edit widget, enter a number without sign 2. Quit edit (tab or mouse) Actual Results: The amount stay as it is entered. Expected Results: The sign + or - could be add. This could avoid a mistake when omitting the sign as the sign will be show before the operation edition is finished.
Hi Vicnet, If the sign is entered (+ or -), then this sign is used for the created/updated operation. If the sign is not entered by the user, then the sign is automatically added by skrooge by using the category. So, it means that we need to know the category to be able to automatically compute the sign of the operation. so, this can not be done when the focus is lost. Is my answer acceptable?
I understand, perhaps adjust the amount sign when category is just selected ? Also this useful information (sign from category) could be added in doc: https://docs.kde.org/trunk5/fr/extragear-office/skrooge/operations.html#operation_properties https://docs.kde.org/trunk5/en/extragear-office/skrooge/operations.html#operation_properties or in "Operation creation" paragraph...
Git commit fd654830493963b2c8cc5ac114ec971e4cbdb8bb by Stephane Mankowski. Committed on 08/09/2016 at 19:40. Pushed by smankowski into branch 'master'. Show amount sign on lost focus Update documentation M +1 -0 CHANGELOG M +1 -0 doc/index.docbook http://commits.kde.org/skrooge/fd654830493963b2c8cc5ac114ec971e4cbdb8bb