Fix crash when removing toolview via context menu

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

Description

Fix crash when removing toolview via context menu

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.

Reviewers: KDevelop, apol

Reviewed By: KDevelop, apol

Subscribers: apol, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D6261

Details

Committed
apolJun 18 2017, 10:26 PM
Reviewer
KDevelop
Differential Revision
D6261: Fix crash when removing toolview via context menu
Parents
R33:b7cd6c854caf: Merge branch '5.1'
Branches
Unknown
Tags
Unknown