Line 0
Link Here
|
|
|
1 |
Index: kmymoney2/dialogs/kenterscheduledialog.cpp |
2 |
=================================================================== |
3 |
RCS file: /cvsroot/kmymoney2/kmymoney2/kmymoney2/dialogs/kenterscheduledialog.cpp,v |
4 |
retrieving revision 1.11.2.1 |
5 |
retrieving revision 1.11.2.2 |
6 |
diff -c -r1.11.2.1 -r1.11.2.2 |
7 |
*** kmymoney2/dialogs/kenterscheduledialog.cpp 31 Jan 2004 12:53:42 -0000 1.11.2.1 |
8 |
--- kmymoney2/dialogs/kenterscheduledialog.cpp 28 Dec 2004 22:41:52 -0000 1.11.2.2 |
9 |
*************** |
10 |
*** 994,1001 **** |
11 |
|
12 |
if (date < firstDate || date > nextDate) |
13 |
{ |
14 |
! KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); |
15 |
! return false; |
16 |
} |
17 |
|
18 |
return true; |
19 |
--- 994,1005 ---- |
20 |
|
21 |
if (date < firstDate || date > nextDate) |
22 |
{ |
23 |
! // KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())); |
24 |
! |
25 |
! // let the user continue anyway as the calculation is not always correct |
26 |
! // proper fix will be available in 0.7/0.9. |
27 |
! 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) |
28 |
! return false; |
29 |
} |
30 |
|
31 |
return true; |