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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-systemmonitor/com |ma/plasma-systemmonitor/com
                   |mit/0fc74c55135632e9cb1b10b |mit/d07a633824b653baddad2da
                   |af9f645f4c299875a           |6d1fa94ac4aaac39c

--- Comment #3 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit d07a633824b653baddad2da6d1fa94ac4aaac39c by David Edmundson.
Committed on 01/06/2021 at 11:21.
Pushed by davidedmundson into branch 'Plasma/5.22'.

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.


(cherry picked from commit 0fc74c55135632e9cb1b10baf9f645f4c299875a)

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

https://invent.kde.org/plasma/plasma-systemmonitor/commit/d07a633824b653baddad2da6d1fa94ac4aaac39c

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

Reply via email to