Belongs to the last commit, sorry.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40408 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-02-09 19:44:59 +00:00
parent e0971ab8f6
commit 294da6bff9

View File

@ -161,10 +161,7 @@ EditListView::MouseDown(BPoint where)
BListView::MouseDown(where);
int32 index = IndexOf(where);
BListItem* item = ItemAt(index);
if (item == NULL)
return;
EditableListItem* handler = dynamic_cast<EditableListItem*>(item);
EditableListItem* handler = dynamic_cast<EditableListItem*>(ItemAt(index));
if (handler == NULL)
return;
@ -184,10 +181,7 @@ EditListView::MouseUp(BPoint where)
}
int32 index = IndexOf(where);
BListItem* item = ItemAt(index);
if (item == NULL)
return;
EditableListItem* handler = dynamic_cast<EditableListItem*>(item);
EditableListItem* handler = dynamic_cast<EditableListItem*>(ItemAt(index));
if (handler == NULL)
return;