diff options
author | Jörg Müller <nexyon@gmail.com> | 2021-04-22 11:23:02 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2021-04-22 11:23:02 +0300 |
commit | 91c652e39aa2bdd0136e209bc1c5b4272db3838e (patch) | |
tree | 3cf3fb09113445feaca832ed1cae673599071df2 /release | |
parent | 33d9a0c9518ab0ec337d7ffd9b3efaa39d945862 (diff) |
Fix: Deactivate audio settings when output is None
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 04b7a11bde1..de78b88c0f6 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -570,7 +570,7 @@ class USERPREF_PT_system_sound(SystemPanel, CenterAlignMixIn, Panel): layout.prop(system, "audio_device", expand=False) sub = layout.grid_flow(row_major=False, columns=0, even_columns=False, even_rows=False, align=False) - sub.active = system.audio_device not in {'NONE', 'Null'} + sub.active = system.audio_device not in {'NONE', 'None'} sub.prop(system, "audio_channels", text="Channels") sub.prop(system, "audio_mixing_buffer", text="Mixing Buffer") sub.prop(system, "audio_sample_rate", text="Sample Rate") |