diff --git a/Source/UI/PrefUI/suiPrefPaneGeneral.swift b/Source/UI/PrefUI/suiPrefPaneGeneral.swift index c77cf25c..1551f0e9 100644 --- a/Source/UI/PrefUI/suiPrefPaneGeneral.swift +++ b/Source/UI/PrefUI/suiPrefPaneGeneral.swift @@ -126,7 +126,13 @@ struct suiPrefPaneGeneral: View { .preferenceDescription() Toggle( LocalizedStringKey("Show page buttons in candidate window"), isOn: $selShowPageButtonsInCandidateUI - ).controlSize(.small) + ).onChange( + of: selShowPageButtonsInCandidateUI, + perform: { value in + mgrPrefs.showPageButtonsInCandidateWindow = value + } + ) + .controlSize(.small) } Preferences.Section(bottomDivider: true, label: { Text(LocalizedStringKey("Output Settings:")) }) { Toggle(