[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/umbrello/umbrello
From: Sharan Rao <sharanrao () gmail ! com>
Date: 2008-03-31 21:41:12
Message-ID: 1206999672.873166.6102.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 792362 by sharan:
Bug fix. Renaming a list view item should also rename the corresponding object, canvas widget etc.
M +2 -1 umllistviewitem.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/umllistviewitem.cpp #792361:792362
@@ -309,6 +309,7 @@
void UMLListViewItem::okRename(int col)
{
+ QString oldText = m_Label; // copy old name
Q3ListViewItem::okRename(col);
UMLDoc* doc = s_pListView->getDocument();
if (m_bCreating) {
@@ -324,7 +325,7 @@
return;
}
QString newText = text(col);
- if (newText == m_Label) {
+ if (newText == oldText) {
return;
}
if (newText.isEmpty()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic