r21874 - gnucash/trunk/src/import-export/aqbanking - Bug #668454: Make it easier to paste account/bank in online transaction dialog

Christian Stimming cstim at code.gnucash.org
Sun Jan 22 16:09:35 EST 2012


Author: cstim
Date: 2012-01-22 16:09:34 -0500 (Sun, 22 Jan 2012)
New Revision: 21874
Trac: http://svn.gnucash.org/trac/changeset/21874

Modified:
   gnucash/trunk/src/import-export/aqbanking/dialog-ab-trans.c
Log:
Bug #668454: Make it easier to paste account/bank in online transaction dialog

Patch by Johannes Schmid (with indentation fixed by our usual astyle call):

The patch actually fixes two issues:

* Only allow digits in account/bank code field
* Filter spaces when pasting content.

This has annoyed me for a while because quite often I paste account
informations from the browser or some email into gnucash and people tend to
group the numbers like this:

BLZ: 763 510 40

The result of the paste is that the number looks like 763 510<end> because the
number of characters in the entry is limited. With the patch the spaces will be
removed and you will see

763 510 40 -> 76351040



More information about the gnucash-patches mailing list