From 67b2be3ab0e6ab53bd948a4e0e877bced09bb08a Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sun, 27 Sep 2026 16:54:17 +0200 Subject: [PATCH] fix(settings): tab position rows are dropdowns again #982 moved New tab position and Tab bar position into General with the segmented control they had before #979 made every pick-one setting a dropdown, so General mixed the two again. Both use settings_choice. --- src/ui/settings/pages.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/settings/pages.rs b/src/ui/settings/pages.rs index a668fb41..42e903a9 100644 --- a/src/ui/settings/pages.rs +++ b/src/ui/settings/pages.rs @@ -1372,7 +1372,7 @@ impl Tty7App { TabBarPosition::Left => 1, }; let sidebar_auto_grouping = cfg.sidebar_auto_grouping; - let new_tab = self.segmented( + let new_tab = self.settings_choice( "wt-new-tab-pos", &[t(L10nKey::SettingsAfterCurrent), t(L10nKey::SettingsAtEnd)], new_tab_idx, @@ -1388,7 +1388,7 @@ impl Tty7App { ); }, ); - let tab_bar = self.segmented( + let tab_bar = self.settings_choice( "wt-tab-bar-pos", &[t(L10nKey::SettingsTop), t(L10nKey::SettingsLeft)], tab_bar_idx,