https://bugs.kde.org/show_bug.cgi?id=313237

Christian David <christian-da...@web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78267|0                           |1
        is obsolete|                            |

--- Comment #9 from Christian David <christian-da...@web.de> ---
Created attachment 78344
  --> https://bugs.kde.org/attachment.cgi?id=78344&action=edit
Keeps new lines in purpose during regexp evaluation and sets hash as before

You are right with the hash, Thomas. I did this test:

1) Used currend git master to receive many transactions. Saved filed and quit.

2) Used my older patch and downloaded the transactions again (actually even
more) by manualy setting the start-date. KMyMoney could not detect dublicates,
they were listed twice :( .

3) I added your line (this patch), loaded file from (1) and downloaded the
transactions again. Now all dublicates were detected. Works as desired.

Before importing the transactions the memo and payee field
QString::simplified() [1] is used. This function removes any whitespace
character including newlines with a space. So behaviour after the regexp is as
before.

Btw: It should be considerd that removing the newlines in the Memo is not a
preferable behaviour. But for now changing this is uncomfortable as in ledger
view the transfer form at the bottom is not scrolable if not in editing mode.

[1] http://qt-project.org/doc/qt-4.8/qstring.html#simplified

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to