Skip to content
Snippets Groups Projects

macosx: Add an internal function to VLCLibraryWindow to set current segment view

This PR provides a method of setting the view that should be currently set on the library window. Unlike segmentedControlAction it does this without appending this to the navigation stack history, and without checking (and returning early) if the cached copy of the selected segment is the same as the segment currently selected in the segmented title control.

  • Eliminates compile-time warnings about passing nil to selector that requires not-nullable argument for segmentedControlAction
  • Prevents the need for hacky workarounds to not append a state to the navigation history stack after a call to segmentedControlAction
  • Fixes an issue with the correct library view not being re-set after the video view -- which is pushed onto the library window, hiding all other views on starting video playback -- is done playing video

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading