FavoritesMenu: don't call the RefFilter when the model's node is NULL. Fixes bug #5871.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36772 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2010-05-09 12:11:52 +00:00
parent 56ec6eae8e
commit 4dc62bba59
+1 -1
View File
@@ -298,7 +298,7 @@ FavoritesMenu::ShouldShowModel(const Model *model)
if (fIsSavePanel && model->IsFile())
return false;
if (!fRefFilter)
if (!fRefFilter || model->Node() == NULL)
return true;
struct stat_beos statBeOS;