From ac4d653dd3eb098005392dc1a62b28881ec6b06e Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Fri, 9 Aug 2013 18:49:38 -0400 Subject: [PATCH] Tracker: Fix another navigator issue. The problem indicated by #8388 hid another issue with respect to show/hiding the navigator on the fly, namely that it didn't correctly respect the type of Tracker window, which would cause the navigator to show up in cases where it shouldn't, such as query windows. --- src/kits/tracker/ContainerWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kits/tracker/ContainerWindow.cpp b/src/kits/tracker/ContainerWindow.cpp index 3721538173..4d2586172e 100644 --- a/src/kits/tracker/ContainerWindow.cpp +++ b/src/kits/tracker/ContainerWindow.cpp @@ -3942,8 +3942,10 @@ BContainerWindow::ShowSelectionWindow() void BContainerWindow::ShowNavigator(bool show) { - if (PoseView()->IsDesktopWindow()) + if (PoseView()->IsDesktopWindow() || !TargetModel()->IsDirectory() + || fPoseView->IsFilePanel()) { return; + } if (show) { if (Navigator() && !Navigator()->IsHidden())