[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at gmail.com
Thu Dec 8 13:49:03 UTC 2011
SVN commit 1267732 by habacker:
fixed "Bug 268469 - Umbrello crashed when changing the Package of a class"
CCBUG 268469
M +4 -0 umllistview.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp #1267731:1267732
@@ -596,6 +596,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