Fix crash when removing toolview via context menu
ClosedPublic

Authored by croick on Jun 18 2017, 10:10 PM.

Details

Summary

When using "Remove Toolview" from the toolview context menus, kdevelop would crash.
Postponing the button deletion seems to fix the problem.

Test Plan

Remove a toolview from the context menu without crash now.

Diff Detail

Repository
R33 KDevPlatform
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
croick created this revision.Jun 18 2017, 10:10 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJun 18 2017, 10:10 PM
apol accepted this revision.Jun 18 2017, 10:19 PM
apol added a subscriber: apol.

Makes sense, thanks a lot for the patch!

Do you have commit rights?

This revision is now accepted and ready to land.Jun 18 2017, 10:19 PM

No, not yet...

This revision was automatically updated to reflect the committed changes.