[Uml-devel] [Bug 59774] crash when cutting last diagram left
jr at jriddell.org
Sat Jul 5 10:11:18 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From jr at jriddell.org 2003-07-05 19:09 -------
Two problems, first one (reported by Sebastian) is that it crashes when
cutting the last diagram in existance. It tries to delete the widgets from
the diagram after it has been deleted. The problem is in UMLApp::slotEditCut,
the fromview variable is set to true even though it is not from the view that
we're cutting. Need to find a better way to set fromview. I've made a
temporary fix in the mean time in UMLApp::slotDeleteSelectedWidget().
The problem Stephen reported occurs when deleteing diagrams that have been
saved and loaded and which contain associations. UMLView::removeAllWidgets
uses queryList("UMLWidget") which in these situations returns a count much
higher than it should and some of the QObjects it contains causes the program
to crash as soon as you touch them. I have no idea what could cause that.
Everything works fine for diagrams which contain associations but which havn't
been saved and loaded.
More information about the umbrello-devel