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

John Ratke jratke at comcast.net
Wed Oct 1 18:20: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:19 -------
Here is the proposed patch: 
 
Index: classifierlistpage.cpp 
=================================================================== 
RCS file: /home/kde/kdesdk/umbrello/umbrello/dialogs/classifierlistpage.cpp,v 
retrieving revision 1.4 
diff -u -3 -p -r1.4 classifierlistpage.cpp 
--- classifierlistpage.cpp      1 Oct 2003 03:07:08 -0000       1.4 
+++ classifierlistpage.cpp      2 Oct 2003 01:09:42 -0000 
@@ -346,6 +346,7 @@ void ClassifierListPage::slotDelete() { 
        //but really shouldn't matter 
        m_pDoc->removeUMLObject(selectedAttribute); 
        m_pItemListLB->removeItem( m_pItemListLB->currentItem()); 
+       m_pOldListItem = 0; 
        slotClicked(0); 
 }




More information about the umbrello-devel mailing list