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

Carl Schwan <c...@carlschwan.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/ktimer/-/commit/25425
                   |                            |c9d5a32422c9fa83805b185fa92
                   |                            |9be42db0
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Carl Schwan <c...@carlschwan.eu> ---
Git commit 25425c9d5a32422c9fa83805b185fa929be42db0 by Carl Schwan, on behalf
of Paul Worrall.
Committed on 08/08/2023 at 11:41.
Pushed by cullmann into branch 'master'.

Prevent timer value resets when selecting jobs on UI

When the user selects a job from the list, the slider's setMaximum
function is called after its valueChanged signal has been connected to
the job's setValue method.

setMaximum can change the slider's value to be within the new range thus
causing it to emit the valueChanged signal and so setting the job's
value to it's maximum.

This change moves the setMaximum call (and a bunch of other value
setting calls) to before the signals are connected up.

M  +8    -8    ktimer.cpp

https://invent.kde.org/utilities/ktimer/-/commit/25425c9d5a32422c9fa83805b185fa929be42db0

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

Reply via email to