From 1fe7262b886d6058d8c81031d16544b3318965fc Mon Sep 17 00:00:00 2001 From: Bosco Ho Date: Sun, 25 Aug 2024 13:34:12 -0700 Subject: [PATCH] ^ Fix regression where project pip picker wasn't available. --- PyTerm/ContentView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTerm/ContentView.swift b/PyTerm/ContentView.swift index 39f7a5e..2bcce20 100644 --- a/PyTerm/ContentView.swift +++ b/PyTerm/ContentView.swift @@ -53,7 +53,7 @@ struct ContentView: View { ) .id(selectedPip) .toolbar { - if hasVenv(), projectPipInstallations.isEmpty == false { + if sidebarPreferences.sidebarFilter == .projects, projectPipInstallations.isEmpty == false { Picker("Pick a Pip Installation", selection: $contentSelection.selectedPip) { ForEach(projectPipInstallations, id: \.self) { pip in Text(pip.lastPathComponent)