[Uml-devel] KDE_3_3_BRANCH: kdesdk/umbrello/umbrello
Ben Burton
bab at debian.org
Thu Mar 17 14:22:41 UTC 2005
CVS commit by benb:
Backport fix for incorrect behaviour when moving items around in the logical tree view. See KDE #57667, Debian #296433.
M +4 -3 umllistview.cpp 1.109.2.2
--- kdesdk/umbrello/umbrello/umllistview.cpp #1.109.2.1:1.109.2.2
@@ -1033,8 +1033,9 @@ UMLListViewItem * UMLListView::moveObjec
void UMLListView::slotDropped(QDropEvent* de, QListViewItem* /* parent */, QListViewItem* item) {
- if(!item) {
- //kdDebug() << "UMLListView::slotDropped: item is NULL - setting to currentItem()"
- // << endl;
item = (UMLListViewItem *)currentItem();
+ if(!item) {
+ kdDebug() << "UMLListView::slotDropped: item is NULL - doing nothing"
+ << endl;
+ return;
}
UMLDrag::LvTypeAndID_List srcList;
More information about the umbrello-devel
mailing list