From 43c8fb921855f96398edb1621f57c2d51eaff670 Mon Sep 17 00:00:00 2001 From: seaweeduk <2912658+seaweeduk@users.noreply.github.com> Date: Sun, 22 Nov 2026 19:57:17 +0000 Subject: [PATCH] Show the Advanced switch only on pages with advanced settings --- src/menu_settings.cpp | 2 -- src/menu_video_settings.cpp | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/menu_settings.cpp b/src/menu_settings.cpp index 53935d1..4419760 100644 --- a/src/menu_settings.cpp +++ b/src/menu_settings.cpp @@ -56,8 +56,6 @@ void Menu::layoutSettingsSection(SettingsSection section, const StashSettingsSho dropdown_ = Dropdown::None; dirty_ = true; }); - page.pageSwitch(t.advancedSettings, view_.advancedSettings, - command(MenuCommand::ToggleAdvancedSettings), t.tipAdvanced); if (section == SettingsSection::Stash) { StashPages::layoutSettings(*this, page, stash ? *stash : StashPages::settingsShown(*this)); return; diff --git a/src/menu_video_settings.cpp b/src/menu_video_settings.cpp index 8c53270..51abb0a 100644 --- a/src/menu_video_settings.cpp +++ b/src/menu_video_settings.cpp @@ -95,8 +95,9 @@ void Menu::layoutVideoSection(VideoSection section) { }); if (!open) page.disableSection(static_cast(VideoSection::ThisVideo), t.thisVideoClosed); - // On the Frame the advanced rows can be hidden (desktop: nothing here is). - if (kStandaloneHeadset) + // On the Frame Display's advanced rows can be hidden (desktop: nothing here + // is, nor in This video). + if (kStandaloneHeadset && section == VideoSection::Display) page.pageSwitch(t.advancedSettings, view_.advancedSettings, command(MenuCommand::ToggleAdvancedSettings), t.tipAdvanced); const bool flat = view_.format.projection == Projection::Flat;