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

sh_zam <sh...@sdf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/e93ace6bb |hics/krita/commit/0aeed4342
                   |bbf546e0782a6c705e9057a87ff |ddd76141e6255bf3b27a5ec76f6
                   |b01f                        |ba76

--- Comment #4 from sh_zam <sh...@sdf.org> ---
Git commit 0aeed4342ddd76141e6255bf3b27a5ec76f6ba76 by Sharaf Zaman.
Committed on 24/10/2022 at 04:51.
Pushed by szaman into branch 'krita/5.1'.

Fix nullptr dereference in pattern generator

If while dragging we click outside of the window bounds, none of the
pattern is selected resulting in:
widget()->patternChooser->currentResource() pointing to a nullptr. But
with includeHidden flag enabled we can still reference the last selected
pattern. So, this seems like a minor error (i.e operating on only "non
hidden" resource).
(cherry picked from commit e93ace6bbbbf546e0782a6c705e9057a87ffb01f)

M  +1    -1    plugins/generators/pattern/kis_wdg_pattern.cpp

https://invent.kde.org/graphics/krita/commit/0aeed4342ddd76141e6255bf3b27a5ec76f6ba76

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

Reply via email to