Tracker: Open parent of Desktop window but not Desktop

Tracker: Fix crash switching browser/spatial mode.
from a4a5800e5f
from b6eb4ec4ab

Change-Id: Ifdb7f64e2308189969718d62525a274bcdb53e38
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8470
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
John Scipione
2024-10-19 05:06:08 +00:00
committed by waddlesplash
parent f2dca4f0f6
commit 616d1868a6
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -8657,7 +8657,7 @@ BPoseView::OpenParent()
bool
BPoseView::ParentIsRoot()
{
if (TargetModel()->IsDesktop() || TargetModel()->IsRoot())
if (IsDesktop() || TargetModel()->IsRoot())
return true;
// override by holding control key