On Dienstag, 14. Februar 2023 17:17:29 CET Jeremy Whiting wrote: > Sorry, I should have said. What's the mechanism that redoes the sorting? If > I could find that maybe I could help find the cause of this minor issue. I > was wondering last night if the cause might be the call to > MyMoneyFile::instance()->blockSignals(cnt != 0); towards the top of > slotMarkTransactions?
Not sure, because on the last item in the list they will be turned on again. As I mentioned, this is still work in progress and I need to make sure all bits fit together and play nicely together. Thomas > On Tue, Feb 14, 2023 at 8:30 AM Jeremy Whiting <jeremypwhit...@gmail.com> > wrote: > > > Yep, no worries. Good to know. Thanks again. > > > > On Tue, Feb 14, 2023 at 8:18 AM Thomas Baumgart <t...@net-bembel.de> wrote: > > > >> Jeremy, > >> > >> On Dienstag, 14. Februar 2023 14:39:46 CET Jeremy Whiting wrote: > >> > >> > master, sorry, forgot to say > >> > >> I am currently still fighting that one myself :) Hence I have > >> no real answer why it is acting that way. > >> > >> I know it's not a really sufficient answer but describes the > >> current situation. Once I have more details/have it fixe I'll > >> let you know. > >> > >> Thomas > >> > >> > >> > On Tue, Feb 14, 2023, 5:33 AM Thomas Baumgart via KMyMoney-devel < > >> > kmymoney-devel@kde.org> wrote: > >> > > >> > > On Dienstag, 14. Februar 2023 06:13:15 CET Jeremy Whiting via > >> > > KMyMoney-devel wrote: > >> > > > >> > > > Hello, > >> > > > > >> > > > I'm trying to figure out how to trigger a redo of sorting when I > >> change > >> > > the > >> > > > reconciliation of a transaction. Currently if I change the 5th > >> > > transaction > >> > > > for today from Not Cleared to Cleared by clicking in that column, > >> the > >> > > > transaction stays below other non-cleared transactions. But if I > >> move > >> > > some > >> > > > transactions from yesterday to today with move-to-today all are > >> sorted > >> > > > again. I am not seeing the difference between > >> KMyMoney::slotMoveToToday > >> > > and > >> > > > KMyMoney::slotMarkTransactions though. Both take a set of > >> transactions, > >> > > do > >> > > > something to them, then file->modifyTransaction(tr); then do > >> ft.commit() > >> > > to > >> > > > commit the data transaction, etc. Why does sorting not happen in > >> the one > >> > > > case but does in the other? What am I missing? > >> > > > >> > > One short detail: 5.1 or master? > >> > > > >> > > -- > >> > > > >> > > Regards > >> > > > >> > > Thomas Baumgart > >> > > > >> > > ------------------------------------------------------------- > >> > > If you've got friends that have you thrown out of a plane in mid-air, > >> > > you don't need enemies. > >> > > (Sebas Kügler on http://vizzzion.org/blog/2010/06/jumped/) > >> > > ------------------------------------------------------------- > >> > > > >> > > >> > >> -- > >> > >> Regards > >> > >> Thomas Baumgart > >> > >> ------------------------------------------------------------- > >> Sometimes you will never know the value of a moment, > >> until it becomes a memory. (Dr. Seuss) > >> ------------------------------------------------------------- > >> > > > -- Regards Thomas Baumgart ------------------------------------------------------------- Laziness led to the invention of the most useful tools. -------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.