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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user