[Uml-devel] [Bug 65312] crash on deleting an attribute from properties dialog attribute page

John Ratke jratke at comcast.net
Wed Oct 1 18:18:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65312     




------- Additional Comments From jratke at comcast.net  2003-10-02 03:17 -------
I looked at this closer and the problem is with m_pOldListItem, which appears to be 
used only to set the documentation on the previous item when changing items.  
When the delete happens, the item is removed from UMLDoc's objectList, so it is 
deleted. but m_pOldListItem still points to the memory so when slotClicked(0) is 
called it tries to setDoc on the deleted item. 
 
I will attach a proposed patch to set m_pOldListItem to 0 in slotDelete.  This fix 
works for me.




More information about the umbrello-devel mailing list