Ticket #6780: patch-bookmarks-menu

File patch-bookmarks-menu, 412 bytes (added by stpere, 6 years ago)
Line 
1diff --git a/src/kits/tracker/NavMenu.cpp b/src/kits/tracker/NavMenu.cpp
2index 14578f5..8c32647 100644
3--- a/src/kits/tracker/NavMenu.cpp
4+++ b/src/kits/tracker/NavMenu.cpp
5@@ -397,7 +397,7 @@ BNavMenu::StartBuildingItemList()
6 {
7 BEntry entry;
8
9- if (fNavDir.device < 0 || entry.SetTo(&fNavDir) != B_OK
10+ if (fNavDir.device < 0 || entry.SetTo(&fNavDir, true) != B_OK
11 || !entry.Exists())
12 return false;
13