mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Tracker: Open parent of Desktop window but not Desktop
Tracker: Fix crash switching browser/spatial mode. froma4a5800e5f
fromb6eb4ec4ab
Change-Id: Ifdb7f64e2308189969718d62525a274bcdb53e38 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8470 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
f2dca4f0f6
commit
616d1868a6
@ -1554,9 +1554,7 @@ BContainerWindow::MessageReceived(BMessage* message)
|
||||
break;
|
||||
|
||||
case kSingleWindowBrowseChanged:
|
||||
if (settings.SingleWindowBrowse() && Navigator() == NULL
|
||||
&& TargetModel()->IsDirectory() && !PoseView()->IsFilePanel()
|
||||
&& !PoseView()->IsDesktop()) {
|
||||
if (PoseView()->IsFilePanel() || PoseView()->IsDesktop()) {
|
||||
SetSingleWindowBrowseShortcuts(settings.SingleWindowBrowse());
|
||||
break;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user