On 1/23/2016 19:46, John Ralls wrote:

On Jan 23, 2016, at 2:37 PM, Jesse Olmer <[email protected]> wrote:

The second route (and the one I've already started on) is to have a
new object which ref counts pending matches (essentially, a map of
match info's to their ref count and some metadata for display). An
instance of this object lives in GNCImportMainMatcher and is passed to
the GNCImportMatchPicker providing fast lookup for each match. If this
doesn't pass the sniff test please let me know.


Why not just add a gboolean "used" attribute to _matchinfo, set it true when 
the corresponding transaction is used in a match and exclude the instance from the 
match_list if its used attribute is true?

Or display an indicator showing that it has been previously matched (in case someone wants or needs to match two imported transactions to the same existing register transaction)....
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to