[kmymoney4] [Bug 360500] Unable to enter the same value in the No. field for more than 1 transaction.

aga agander93 at gmail.com
Mon Mar 14 22:29:10 UTC 2016

On 14/03/16 18:45, Christian David via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=360500
> Christian David <christian-david at web.de> changed:
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |christian-david at web.de
> --- Comment #3 from Christian David <christian-david at web.de> ---
> In void TransactionEditor::slotNumberChanged(const QString& txt):
> Why do you use loadText() and not setText() in you patch?

There are two separate routines involved, and one was using loadText() 
and the other setText(). I couldn't see any reason for the difference, 
and just decided to use loadText().

> However, the loadText() seems unnecessary to me.

In the routine you refer to, then, yes, it does seem unnecessary, but 
not so in void TransactionEditor::assignNextNumber().  The first one 
there is necessary.


More information about the KMyMoney-devel mailing list