PrefUI // Fix selShowPageButtonsInCandidateUI.
This commit is contained in:
parent
1c3eef6400
commit
cf0c99a06d
|
@ -126,7 +126,13 @@ struct suiPrefPaneGeneral: View {
|
||||||
.preferenceDescription()
|
.preferenceDescription()
|
||||||
Toggle(
|
Toggle(
|
||||||
LocalizedStringKey("Show page buttons in candidate window"), isOn: $selShowPageButtonsInCandidateUI
|
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:")) }) {
|
Preferences.Section(bottomDivider: true, label: { Text(LocalizedStringKey("Output Settings:")) }) {
|
||||||
Toggle(
|
Toggle(
|
||||||
|
|
Loading…
Reference in New Issue