[Uml-devel] branches/KDE/4.7/kdesdk/umbrello/umbrello

Ralf Habacker ralf.habacker at gmail.com
Thu Dec 8 13:50:18 UTC 2011


SVN commit 1267733 by habacker:

fixed "Bug 268469 - Umbrello crashed when changing the Package of a class"

CCBUG 268469

 M  +4 -0      umllistview.cpp  


--- branches/KDE/4.7/kdesdk/umbrello/umbrello/umllistview.cpp #1267732:1267733
@@ -592,6 +592,10 @@
         } else {
             uWarning() << "calling properties on unknown type";
         }
+        // Bug 268469: Changing the package of a class deletes the old widget.
+        // By reloading the current item we are sure to not use a destroyed object
+        temp = (UMLListViewItem*)currentItem();
+        if (temp)
         temp->cancelRename(0);
         break;
 




More information about the umbrello-devel mailing list