diff options
| author | ailurux <ailuruxx@gmail.com> | 2025-02-04 14:00:32 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2025-02-04 14:00:32 +1100 |
| commit | 813db15da84ee82066564b51f83be451cf121a00 (patch) | |
| tree | cf95258eeced00c1f31f21cf7051ae41d12b2c76 /lua | |
| parent | 38cb3d8219da0d26077d238c3e633f75a11055a3 (diff) | |
| download | tangara-fw-813db15da84ee82066564b51f83be451cf121a00.tar.gz | |
Fix merge issue breaking control settings screen
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/settings.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/settings.lua b/lua/settings.lua index 74bd2103..aae6db99 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -426,12 +426,14 @@ settings.InputSettings = SettingsScreen:new { local scheme = option_to_scheme[option] control_scheme:set(scheme) end) + + return controls_chooser end theme.set_subject(self.content:Label { text = "Control scheme", }, "settings_title") - make_scheme_control(self, controls.schemes(), controls.scheme) + local controls_chooser = make_scheme_control(self, controls.schemes(), controls.scheme) theme.set_subject(self.content:Label { text = "Control scheme when locked", |
