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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kscreen/commit/41770e254
                   |                            |a067ae3f9a7865fa6741b07009a
                   |                            |73f5
   Version Fixed In|                            |5.23.5
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Nate Graham <n...@kde.org> ---
Git commit 41770e254a067ae3f9a7865fa6741b07009a73f5 by Nate Graham, on behalf
of Méven Car.
Committed on 30/12/2021 at 18:15.
Pushed by ngraham into branch 'master'.

KCM: better handle revert timer and buttons
FIXED-IN: 5.23.5

The issue was that the `revertSettings` method was called when the timer timed
out, the settings were reverted, the confirmMsg overlay closed and called a
second time `revertSettings` when the kcm backend has not been reloaded yet.

This makes sure this won't happen, as either the timer of the revert button
will revert the Settings but not simply closing `confirmMsg. This makes the
code simpler by removing book keeping but instead using only the events.

M  +5    -20   kcm/package/contents/ui/main.qml

https://invent.kde.org/plasma/kscreen/commit/41770e254a067ae3f9a7865fa6741b07009a73f5

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

Reply via email to