Skip to content

Adjust initial view based on the embedded category selected

Yerrey Dev requested to merge yerrey/elisa:initialviewfix into master

Fixes the issue where the initial view opened is incorrect when an index is removed due to being an embedded category. This patch checks if embedded category is selected by calling embeddedCategory() and assigning the index number as Nth option on the views list. If the embedded category index is less than the initial view index, we need to adjust the mInitialIndex by minus one to keep it correct. Also adds the fix when initial view is equal to embedded category and defaults it to "Now Playing" view.

SettingsForm.qml disables the overlapping options when choosing embedded categories and initial views.

image

BUG: 457999

Edited by Yerrey Dev

Merge request reports