Skip to content

Commit

Permalink
Fix GH-221
Browse files Browse the repository at this point in the history
  • Loading branch information
NattyNarwhal committed Jan 29, 2025
1 parent 893eed1 commit 9359f5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Doing so isn't fatal (it's not a secret), but it is annoying for other contribut
* Searches can be performed from the playlist view.
* Server playlists can be created from the playlist view.
* Allow multiple items to be selected in searches.
* Fix the inspector alternating between modes when moving between playlist tracks.
* Fix covers being deleted by the system on macOS 15.
* Fix searches being ran twice.
* Fix albums with the same ID across multiple servers being mixed.
Expand Down
5 changes: 3 additions & 2 deletions Submariner/SBInspectorController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ extension NSNotification.Name {
selectedType = .trackNowPlaying
} else if (selectedType == .trackNowPlaying || selectedType == .selectedPlaylist),
inspectorController.selectedTracks.count > 0 {
selectedType = .selectedTracks
} else if inspectorController.selectedPlaylist != nil {
selectedType = .selectedTracks
} else if inspectorController.selectedPlaylist != nil,
inspectorController.selectedTracks.count == 0 {
selectedType = .selectedPlaylist
}
}
Expand Down

0 comments on commit 9359f5d

Please sign in to comment.