Tracker: a file leaving Trash won't appear in QueryPoseView

Fixing #1592.

A feedback FSNotification()->EntryMoved->PendingNodeMonitorCache->FSNotification
was seemingly introducing some race condition, as it was working 1 time
on several tries.
This commit is contained in:
Philippe Saint-Pierre 2012-07-21 21:56:03 -04:00
parent 55d6e32c7d
commit 1236c746af

View File

@ -5323,6 +5323,7 @@ BPoseView::EntryMoved(const BMessage *message)
ReadPoseInfo(pose->TargetModel(), &poseInfo);
if (!ShouldShowPose(pose->TargetModel(), &poseInfo))
return DeletePose(&itemNode, pose, index);
return true;
}
BPoint loc(0, index * fListElemHeight);
@ -5354,7 +5355,6 @@ BPoseView::EntryMoved(const BMessage *message)
return DeletePose(&itemNode);
else if (dirNode.node == thisDirNode.node)
EntryCreated(&dirNode, &itemNode, name);
return true;
}