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

David Redondo <k...@david-redondo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libksysguard/commit/f060
                   |                            |0a7e53ba0792ffba190cb54c70c
                   |                            |7aa1605fd
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from David Redondo <k...@david-redondo.de> ---
Git commit f0600a7e53ba0792ffba190cb54c70c7aa1605fd by David Redondo.
Committed on 02/02/2021 at 13:56.
Pushed by davidre into branch 'master'.

Do the sensor setters in two stages

When saveConfig() in ConfigSensors.qml is called we started resolving sensors,
when during this time loadConfig() was called we returned the old sensors,
which
when then triggeded another saveConfig() call by  plasma-systemmonitor leading
us to
effectively reset ourselves.
The setters are now in two stages, during resolving time we set the properties
to the unresolved value, so we are in sync with what the qml part did. Also we
not
do another resolve when something tries to set the current unresolved ids.

M  +43   -16   faces/SensorFaceController.cpp

https://invent.kde.org/plasma/libksysguard/commit/f0600a7e53ba0792ffba190cb54c70c7aa1605fd

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

Reply via email to