Skip to content
  • Sharaf Zaman's avatar
    Fix nullptr dereference in pattern generator · e93ace6b
    Sharaf Zaman authored
    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).
    
    BUG:459906
    e93ace6b