Skip to content
  • Halla Rempt's avatar
    Do not try to set a resource if the selection changes on deletion · 4d822ddd
    Halla Rempt authored
    With some versions of Qt, deleting a list widget changes the selection,
    and that can cause a crash if we're trying to set the newly selected
    item on an already delete KoCanvasResourceProvider.
    
    So, make sure that the KoResourceItemChooser and KoResourceItemView disconnect
    themselves completely on teardown.
    
    BUG: 324587
    4d822ddd