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:
@@ -161,10 +161,7 @@ EditListView::MouseDown(BPoint where)
|
|||||||
BListView::MouseDown(where);
|
BListView::MouseDown(where);
|
||||||
|
|
||||||
int32 index = IndexOf(where);
|
int32 index = IndexOf(where);
|
||||||
BListItem* item = ItemAt(index);
|
EditableListItem* handler = dynamic_cast<EditableListItem*>(ItemAt(index));
|
||||||
if (item == NULL)
|
|
||||||
return;
|
|
||||||
EditableListItem* handler = dynamic_cast<EditableListItem*>(item);
|
|
||||||
if (handler == NULL)
|
if (handler == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -184,10 +181,7 @@ EditListView::MouseUp(BPoint where)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32 index = IndexOf(where);
|
int32 index = IndexOf(where);
|
||||||
BListItem* item = ItemAt(index);
|
EditableListItem* handler = dynamic_cast<EditableListItem*>(ItemAt(index));
|
||||||
if (item == NULL)
|
|
||||||
return;
|
|
||||||
EditableListItem* handler = dynamic_cast<EditableListItem*>(item);
|
|
||||||
if (handler == NULL)
|
if (handler == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user