[Uml-devel] kdesdk/umbrello/umbrello
Laurent Montel
montel at kde.org
Tue Jun 22 23:34:08 UTC 2004
CVS commit by mlaurent:
Don't try to rename item with old name
M +2 -0 umllistviewitem.cpp 1.46
--- kdesdk/umbrello/umbrello/umllistviewitem.cpp #1.45:1.46
@@ -290,4 +290,6 @@ void UMLListViewItem::okRename( int col
}
QString newText = text( col );
+ if ( newText == m_Label )
+ return;
UMLDoc * doc = s_pListView -> getDocument();
if( newText.isEmpty() ) {
More information about the umbrello-devel
mailing list