[Kmymoney-devel] [Bug 288647] Scheduled transactions can't be skipped when entering them automatically at start-up or before reconciliation

Cristian Onet onet.cristian at gmail.com
Sat Dec 10 12:49:30 UTC 2011


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


Cristian Onet <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Cristian Onet <onet cristian gmail com>  2011-12-10 12:49:30 ---
Git commit a307202c2da2348767705209f774b2e19f56da2a by Cristian Oneț.
Committed on 10/12/2011 at 13:38.
Pushed by conet into branch 'master'.

Scheduled transactions can't be skipped when entering them automatically at
start-up or before reconciliation.
Fix this by splitting slotScheduleSkip into slotScheduleSkip that works on
m_selectedSchedule and skipSchedule
that does the actual work and takes the schedule as a parameter (just like
slotScheduleEnter/enterSchedule).

Use skipSchedule in enterSchedule if 'Skip' was selected instead of
slotScheduleSkip.

As a side note the schedule is read again and again based on the id from the
engine. Some of those calls could be
unnecessary so there is space for improvement here but I did not want to touch
that so that I can safely backport
this fix to the stable branch.

BUG: 288647

M  +18   -5    kmymoney/kmymoney.cpp
M  +7    -0    kmymoney/kmymoney.h

http://commits.kde.org/kmymoney/a307202c2da2348767705209f774b2e19f56da2a

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list