Fixed a bug of the RosterListView menu.
This commit is contained in:
parent
8a27f1f3db
commit
9cf1222142
|
@ -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) {
|
||||
|
|
Ŝarĝante…
Reference in New Issue