https://bugs.kde.org/show_bug.cgi?id=341562

--- Comment #2 from allan <agande...@gmail.com> ---
Apologies - missed line off.
if (statementTransactionUnderImport.m_strInterestCategory.isEmpty()) 
  s1.setAccountId(d->interestId(thisaccount));
else {//  Ensure category sub-accounts are dealt with properly
  if (statementTransactionUnderImport.m_amount.isPositive())
   
s1.setAccountId(d->interestId(statementTransactionUnderImport.m_strInterestCategory));
  else
   
s1.setAccountId(d->expenseId(statementTransactionUnderImport.m_strInterestCategory));
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to