Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneyfile.cpp
Context not available. | |||||
677 | throw MYMONEYEXCEPTION(QString::fromLatin1("Cannot remove transaction that references a closed account.")); | 677 | throw MYMONEYEXCEPTION(QString::fromLatin1("Cannot remove transaction that references a closed account.")); | ||
---|---|---|---|---|---|
678 | d->addCacheNotification(split.accountId(), tr.postDate()); | 678 | d->addCacheNotification(split.accountId(), tr.postDate()); | ||
679 | //FIXME-ALEX Do I need to add d->addCacheNotification(split.tagList()); ?? | 679 | //FIXME-ALEX Do I need to add d->addCacheNotification(split.tagList()); ?? | ||
680 | | ||||
681 | if (split.isMatched()) | ||||
682 | for (const auto &transactionID : split.matchedTransactionIDs()) | ||||
683 | removeTransaction(MyMoneyFile::transaction(transactionID)); | ||||
680 | } | 684 | } | ||
681 | 685 | | |||
682 | d->m_storage->removeTransaction(transaction); | 686 | d->m_storage->removeTransaction(transaction); | ||
Context not available. |