Summary: | Scheduled transactions can't be skipped when entering them automatically at start-up or before reconciliation | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Cristian Oneț <onet.cristian> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Cristian Oneț
2011-12-10 12:26:34 UTC
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 Git commit 384a8a77243396e5837d60446a2ce5d61b6e90f6 by Cristian Oneț. Committed on 10/12/2011 at 13:38. Pushed by conet into branch '4.6'. 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/384a8a77243396e5837d60446a2ce5d61b6e90f6 |