diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-03-01 21:05:34 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-03-01 21:06:19 +0300 |
commit | 49c99549eb19502b2a101ef4d42e0ecbc65800b8 (patch) | |
tree | c2771cd21e05cd26e6d7cc5e19ec74b0d35fff8e /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | 278fce1170fc095bebf4c7feae1570761359ff01 (diff) |
Cleanup: Use .enabled instead of .active
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 23697c5e5eb..f6a79125a49 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -671,11 +671,11 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel): # Workaround - .active has to have a separate UI block to work if i == strip.multicam_source: sub = row.row(align=True) - sub.active = False + sub.enabled = False sub.operator("sequencer.cut_multicam", text="%d" % i).camera = i else: sub_1 = row.row(align=True) - sub_1.active = True + sub_1.enabled = True sub_1.operator("sequencer.cut_multicam", text="%d" % i).camera = i if strip.channel > BT_ROW and (strip_channel - 1) % BT_ROW: |