[Kst] [Bug 124444] Crash when click on where deleted object used to be

George Staikos staikos at kde.org
Tue Mar 28 21:56:45 CEST 2006


> BUG:124444 Reset the focus while deleting the selected objects.
>
>  M  +3 -0      ksttoplevelview.cpp
>
>
> --- trunk/extragear/graphics/kst/src/libkstapp/ksttoplevelview.cpp
> #523675:523676 @ -1600,6 +1600,9  @
>        toBeDeleted.push_front(*it);
>      }
>    }
> +
> +  clearFocus();
> +
>    while (!toBeDeleted.isEmpty()) {
>      removeChild(toBeDeleted.front());
>      toBeDeleted.pop_front();

  I can't reproduce this problem, though I don't doubt that the focus needs to 
be cleared.  What does the stacktrace look like?

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list