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:
parent
e0971ab8f6
commit
294da6bff9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user