[Uml-devel] kdesdk/umbrello/umbrello
Sebastian Stein
seb_stein at gmx.de
Mon Jul 12 23:39:41 UTC 2004
CVS commit by sstein:
fix bug #83553: Crash in umbrello when renaming class
M +2 -2 umllistview.cpp 1.106
--- kdesdk/umbrello/umbrello/umllistview.cpp #1.105:1.106
@@ -1777,5 +1777,5 @@ bool UMLListView::slotItemRenamed( QList
if( KMessageBox::warningYesNo( kapp -> mainWidget() , i18n( "The name you entered was not unique.\nIs this what you wanted?" ),
i18n( "Name Not Unique" ) ) == KMessageBox::No ) {
- //CRASH: delete item;
+ delete item;
return false;
}
@@ -1783,5 +1783,5 @@ bool UMLListView::slotItemRenamed( QList
KMessageBox::error( kapp -> mainWidget() , i18n( "The name you entered was not unique!\nCreation process has been canceled." ),
i18n( "Name Not Unique" ) );
- //CRASH: delete item;
+ delete item;
return false;
}
More information about the umbrello-devel
mailing list