Only react to B_SELECT_ALL when in multiple selection mode. Fixes part of ticket #4120.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31889 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2009-07-29 01:39:10 +00:00
parent c881516f65
commit e80a60b54f

View File

@ -291,7 +291,8 @@ BListView::MessageReceived(BMessage* msg)
}
case B_SELECT_ALL:
Select(0, CountItems() - 1, false);
if (fListType == B_MULTIPLE_SELECTION_LIST)
Select(0, CountItems() - 1, false);
break;
default: