Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8978beee authored by Ralf Habacker's avatar Ralf Habacker

Remove duplicated removal of scene widgets, which is done in the UMLScene destructor.

parent 2cb3559c
......@@ -225,8 +225,6 @@ void UMLDoc::removeView(UMLView *view, bool enforceCurrentView)
view->umlScene(), SLOT(slotObjectRemoved(UMLObject*)));
}
view->hide();
//remove all widgets before deleting view
view->umlScene()->removeAllWidgets();
UMLFolder *f = view->umlScene()->folder();
if (f == 0) {
uError() << view->umlScene()->name() << ": view->getFolder() returns NULL";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment