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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/e93ace6bb
                   |                            |bbf546e0782a6c705e9057a87ff
                   |                            |b01f
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from sh_zam <sh...@sdf.org> ---
Git commit e93ace6bbbbf546e0782a6c705e9057a87ffb01f by Sharaf Zaman.
Committed on 12/10/2022 at 09:19.
Pushed by szaman into branch 'master'.

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).

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

https://invent.kde.org/graphics/krita/commit/e93ace6bbbbf546e0782a6c705e9057a87ffb01f

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

Reply via email to