Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/views/kmymoneyview.cpp
Context not available. | |||||
625 | // We assume at least 2 splits in the transaction | 625 | // We assume at least 2 splits in the transaction | ||
---|---|---|---|---|---|
626 | MyMoneyTransaction t = newSchedule.transaction(); | 626 | MyMoneyTransaction t = newSchedule.transaction(); | ||
627 | if (t.splitCount() < 2) { | 627 | if (t.splitCount() < 2) { | ||
628 | throw MYMONEYEXCEPTION("Transaction for schedule has less than 2 splits!"); | 628 | throw MYMONEYEXCEPTION_CSTRING("Transaction for schedule has less than 2 splits!"); | ||
629 | } | 629 | } | ||
630 | // now search the split that does not have an account reference | 630 | // now search the split that does not have an account reference | ||
631 | // and set it up to be the one of the account we just added | 631 | // and set it up to be the one of the account we just added | ||
Context not available. |