Skip to content

Commit

Permalink
^ Fix regression where project pip picker wasn't available.
Browse files Browse the repository at this point in the history
  • Loading branch information
boscojwho committed Aug 25, 2024
1 parent 7c45c51 commit 1fe7262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyTerm/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1fe7262

Please sign in to comment.