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.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user