don't allow unselection of radio buttons

This commit is contained in:
Drew Weymouth
2023-12-27 15:54:14 -08:00
parent 10feaad1f3
commit 407b5f2780
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -55,6 +55,7 @@ func NewAddEditServerDialog(title string, cancelable bool, prefillServer *backen
legacyAuthCheck.Hide()
}
})
serverTypeChoice.Required = true
serverTypeChoice.Horizontal = true
selected := backend.ServerTypeSubsonic
if a.ServerType == backend.ServerTypeJellyfin {
+1
View File
@@ -437,6 +437,7 @@ func (s *SettingsDialog) createExperimentalTab(window fyne.Window) *container.Ta
s.config.Application.UIScaleSize = choice
s.setRestartRequired()
})
uiScaleRadio.Required = true
uiScaleRadio.Horizontal = true
if s.config.Application.UIScaleSize == "Smaller" || s.config.Application.UIScaleSize == "Larger" {
uiScaleRadio.Selected = s.config.Application.UIScaleSize