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:
parent
f1cc99789b
commit
ac4d653dd3
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user