diff options
author | vs <vs@FreeBSD.org> | 2005-01-21 16:53:35 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-01-21 16:53:35 +0000 |
commit | eff30a524ece1fa5e8a0232fe2061455ad13a909 (patch) | |
tree | a0d93dbee5383fbe46dc6930de59069be133c74e /finance/kmymoney-kde4/files | |
parent | 88a254f89ac6bd43a0d77d13c83e0c6560c886b8 (diff) | |
download | FreeBSD-ports-eff30a524ece1fa5e8a0232fe2061455ad13a909.zip FreeBSD-ports-eff30a524ece1fa5e8a0232fe2061455ad13a909.tar.gz |
Add patch to enter overdue scheduled payments
PR: ports/76244
Submitted by: Alexander Novitsky (maintainer)
Diffstat (limited to 'finance/kmymoney-kde4/files')
-rw-r--r-- | finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff b/finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff new file mode 100644 index 0000000..5cf7c03 --- /dev/null +++ b/finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff @@ -0,0 +1,31 @@ +Index: kmymoney2/dialogs/kenterscheduledialog.cpp +=================================================================== +RCS file: /cvsroot/kmymoney2/kmymoney2/kmymoney2/dialogs/kenterscheduledialog.cpp,v +retrieving revision 1.11.2.1 +retrieving revision 1.11.2.2 +diff -c -r1.11.2.1 -r1.11.2.2 +*** kmymoney2/dialogs/kenterscheduledialog.cpp 31 Jan 2004 12:53:42 -0000 1.11.2.1 +--- kmymoney2/dialogs/kenterscheduledialog.cpp 28 Dec 2004 22:41:52 -0000 1.11.2.2 +*************** +*** 994,1001 **** + + if (date < firstDate || date > nextDate) + { +! KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); +! return false; + } + + return true; +--- 994,1005 ---- + + if (date < firstDate || date > nextDate) + { +! // KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); +! +! // let the user continue anyway as the calculation is not always correct +! // proper fix will be available in 0.7/0.9. +! if (KMessageBox::warningContinueCancel(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())) != KMessageBox::Continue) +! return false; + } + + return true; |