Tracker: Fix BuildMimeTypeList(), styleish and correct
Thanks Axel for pointing out my error.
This commit is contained in:
parent
da0fa55675
commit
4deecac061
@ -3061,7 +3061,7 @@ void
|
||||
BContainerWindow::BuildMimeTypeList(BObjectList<BString>& mimeTypes)
|
||||
{
|
||||
int32 count = PoseView()->SelectionList()->CountItems();
|
||||
if (count > 0) {
|
||||
if (count <= 0) {
|
||||
// just add the type of the current directory
|
||||
AddMimeTypeString(mimeTypes, TargetModel());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user