Fixed a bug of the RosterListView menu.

This commit is contained in:
barrett 2012-10-01 12:29:15 +00:00
parent 8a27f1f3db
commit 9cf1222142

View File

@ -99,10 +99,7 @@ RosterListView::AttachedToWindow()
void
RosterListView::MessageReceived(BMessage* msg)
{
BPoint where;
uint32 buttons;
GetMouse(&where, &buttons);
BListItem* item = ItemAt(IndexOf(where));
BListItem* item = ItemAt(CurrentSelection());
RosterItem* ritem = reinterpret_cast<RosterItem*>(item);
switch (msg->what) {