From: Damyan Ivanov Date: Sun, 7 Mar 2021 09:40:43 +0000 (+0200) Subject: always work with a clone of the live list when checking transaction X-Git-Tag: v0.17.0~15 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=fc6385026ff7f7fb74c7e21f6243a1fa90eb352e;hp=fc6385026ff7f7fb74c7e21f6243a1fa90eb352e;p=mobile-ledger.git always work with a clone of the live list when checking transaction shortcuts bite back. the codes makes several lists with items from the checked list and this may mess with the "get-copy-modify-set" actions when some item in the working list needs to be changed instead, make a clone (new list, cloned items; except if the input list is not the live one, i.e. it is a working copy already) and freely modify its items directly if the "always clone" approach gets slow, this whole process may be moved to a thread also, note focus has moved when a item above the focused item is removed ---