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

--- Comment #4 from [email protected] ---
modification to suggested patch: also remove the "break" statement

--- a/kmymoney/views/kpayeesview_p.h
+++ b/kmymoney/views/kpayeesview_p.h
@@ -473,7 +473,9 @@ public:
             for (const auto& report : allReports) {
                 for (const MyMoneyPayee& payee : list) {
                     if (payeeInList(list, payee.id())) {
-                        usedReportIds.insert(report.id());
+                        if (report.includesPayee(payee.id())) {
+                          usedReportIds.insert(report.id());
+                       }
-                         break;
                     }
                 }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to