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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-systemmonitor/com
                   |                            |mit/0fc74c55135632e9cb1b10b
                   |                            |af9f645f4c299875a

--- Comment #2 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 0fc74c55135632e9cb1b10baf9f645f4c299875a by David Edmundson.
Committed on 01/06/2021 at 11:19.
Pushed by davidedmundson into branch 'master'.

Fix initial sort order

BaseTableView is duplicating code in TableViewHeader, this is non-ideal.

The other issue, is that we run the lambda whilst doing the initial
Repeater population. model.row is outdated when the lambda does run.

We're best off running the existing sort method on the delegate which
will keep everything in sync.

M  +0    -3    src/table/BaseTableView.qml
M  +12   -9    src/table/TableViewHeader.qml

https://invent.kde.org/plasma/plasma-systemmonitor/commit/0fc74c55135632e9cb1b10baf9f645f4c299875a

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

Reply via email to